Share via


Microsoft.SPOT.Hardware Namespace

The Microsoft.SPOT.Hardware namespace provides a range of essential hardware features that programmers can use when developing embedded device firmware.

Classes

Name Description
Public Class Battery Provides methods for querying the state of the device's battery.
Public Class Battery.ChargerModel Contains information describing the battery charger.
Public Class Cpu Provides access to CPU-specific functionality.
Public Class HardwareProvider Provides access to information about pin assignments for serial communications devices.
Public Class I2CDevice Represents an instance of the I2C interface for an I2C device.
Public Class I2CDevice.Configuration Represents a configuration for an I2C interface object.
Public Class I2CDevice.I2CReadTransaction Represents an I2C transaction that reads from the addressed device.
Public Class I2CDevice.I2CTransaction Represents an I2C transaction.
Public Class I2CDevice.I2CWriteTransaction Represents an I2C transaction that writes to the addressed device.
Public Class InputPort Represents an instance of an input port that can be used to read the value of a GPIO pin.
Public Class InterruptPort Represents an interrupt port.
Public Class OutputPort Sets the value of a GPIO pin for an instance of the OutputPort class.
Public Class Port Constitutes the input/output (I/O) port base class for managing General Purpose Input/Output (GPIO) pins, containing the necessary logic to handle read and write requests.
Public Class ScreenMetrics Contains information about the display device.
Public Class SerialPort Provides a connection to a serial communications port that supports reading and writing.
Public Class SerialPort.Configuration Represents the configuration for a SerialPort object.
Public Class SPI Represents an instance of the Microwire/SPI interface for a Microwire/SPI device.
Public Class SPI.Configuration Represents the configuration for an SPI interface.
Public Class SystemID Stores information that is unique to each individual hardware system (device).
Public Class TristatePort Represents an instance of the TristatePort class.
Public Class Utility Provides a collection of helper functions you can use to configure settings for security, collections, driver manipulation, time, and idle CPU usage.

Interfaces

Name Description
Public Interface IHardwareProvider Represents a hardware provider.

Delegates

Name Description
Public Delegate GPIOInterruptEventHandler Denotes a delegate that is invoked when an interrupt occurs.

Enumerations

Name Description
Public Enumeration Cpu.Pin Indentifies the General Purpose Input/Output (GPIO) pins.
Public Enumeration Port.InterruptMode Contains the values you use to set the port interrupt mode. There are six port interrupt modes to choose from.
Public Enumeration Port.ResistorMode Specifies the various port resistor modes.
Public Enumeration SerialPort.BaudRate Specifies the baud rates of serial ports, in bits per second (bps).
Public Enumeration SerialPort.Serial Contains the values with which you set the serial communications port (COM port) you want to use.
Public Enumeration SPI.SPI_module Contains the values that indicate which SPI bus is used for the transaction.