The Gadgeteer.Interfaces namespace is primarily for manufacturers building
mainboards and modules. See the the readme.txt file included with the
mainboard and module builder templates for more information about implementing these classes.
Classes
| Class | Description | |
|---|---|---|
| AnalogInput |
Represents analog input on a single pin.
| |
| AnalogOutput |
Represents analog output on a single pin.
| |
| DigitalInput |
Represents a digital input on a single pin.
| |
| DigitalIO |
Represents digital input/output on a single pin.
| |
| DigitalOutput |
Represents digital output on a single pin.
| |
| I2CBus |
Represents a device on an Inter-Integrated Circuit (I2C) multi-drop 2-wire bus.
| |
| InterruptInput |
Represents interrupt input on a single pin not bound to a specific Socket.
| |
| PWMOutput |
Represents pulse width modulation (PWM) output using a single socket pin.
| |
| Serial |
Represents a serial communcations interface port.
| |
| Serial..::..PortNotOpenException |
Represents the exception that is raised when the serial port has not been
opened prior to a read or write operation.
| |
| SoftwareI2C |
Supports software I2C on any GPIO pins using socket type X or Y.
| |
| SPI |
Represents a Microwire/Serial Peripheral Interface (SPI) interface for a Microwire/SPI device.
| |
| SPI..::..Configuration |
Represents the configuration for an SPI interface.
|
Delegates
| Delegate | Description | |
|---|---|---|
| InterruptInput..::..InterruptEventHandler |
Represents the delegate used for the Interrupt event.
| |
| Serial..::..DataReceivedEventHandler |
Represents the delegate used for the DataReceived event.
| |
| Serial..::..LineReceivedEventHandler |
Represents the delegate used for the LineReceived event.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| DigitalIO..::..IOModes |
Represents the possible modes of a digital input/output interface.
| |
| GlitchFilterMode |
Provides an enumeration of values used to set glitch filter mode on or off.
| |
| InterruptMode |
Provides an enumeration of the values used to set the port interrupt mode.
| |
| ResistorMode |
Specifies the resistor modes for various ports.
| |
| Serial..::..HardwareFlowControl |
Specifies whether the Serial module requires hardware flow control.
| |
| Serial..::..SerialParity |
Specifies the parity bit for a Serial object.
| |
| Serial..::..SerialStopBits |
Specifies the number of stop bits used on the Serial object.
| |
| SoftwareI2C..::..LengthErrorBehavior |
This specifies possible options for handling length errors, i.e. when the specified number of bytes cannot be read or written.
Even if these are suppressed, exceptions may still be thrown for bus errors, e.g. if there is a timeout because the clock line is held low too long.
| |
| SPI..::..Sharing |
Provides values to specify the sharing mode for an SPI instance.
|