Namespace Meadow.Hardware

Classes

AnalogChannelInfo

Information about an analog channel

AnalogInputPort

Represents a port that is capable of reading analog input.

AnalogInputPortBase

Provides a base implementation for much of the common tasks of implementing IAnalogInputPort

AnalogPortBase

Provides a base implementation for much of the common tasks of implementing IAnalogPort

BiDirectionalPort

Represents a port that is capable of reading and writing digital input and output.

BiDirectionalPortBase

Provides a base implementation for BiDirectional Ports; digital ports that can be both input and output.

CanChannelInfo

ChannelConfig

ChannelInfoBase

Provides base functionality for channel types.

Counter

Represents a class that counts edges on an interrupt-capable input port

DigitalChannelInfo

DigitalChannelInfoBase

DigitalInputPort

Represents a port that is capable of reading digital input.

DigitalInputPortBase

Provides a base implementation for digital input ports.

DigitalOutputPort

Represents a port that is capable of writing analog output.

DigitalOutputPortBase

Provides a base implementation for digital output ports.

DigitalPortBase

DigitalPortBase provides a base implementation for much of the common tasks of classes implementing IDigitalPort.

I2cChannelInfo

I2cPeripheral

Defines a contract for a peripheral that communicates via the IIC/I2C protocol.

InterruptGroupInUseException

NativeException

Encapsulates a native hardware exception

Pin

Represents a physical pin on the Meadow device.

PinBase

Provides base implementation for IO pins.

PortBase<C>

PortInUseException

Thrown when a port is attempted to be created on a pin or peripheral that is already in use.

PwmChannelInfo

PwmPortBase

SerialMessagePort

Represents a port that is capable of serial (UART) communications.

Has a streamlined API over class SerialPort that deals in messages.

This is a modern, asynchronous take on serial communications that is thread-safe and asynchronous in nature. This is the recommended way to use serial on Meadow for nearly all use cases.

SerialPortBase

Represents a port that is capable of serial (UART) communications. Preserved for legacy API compatibility. For a more modern approach, use SerialMessagePort.

SpiPeripheral

Represents an SPI peripheral object This encapsulates and synchronizes the SPI bus and chip select ports

Enums

I2cBusSpeed

Standard I2C Bus speeds

SerialMessagePort.SerialMessageMode

Whether we're defining messages by prefix + length, or suffix.