Microsoft.SPOT.Hardware
MSDN Home
MSDN
MSDN Library
Design Tools
Development Tools and Language ...
Mobile and Embedded Developmen ...
.NET Development
Office Development
Online Services
Open Specifications
patterns & practices
Servers and Enterprise Develop ...
Speech Technologies
Web Development
Win32 and COM Development
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
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
Battery
Provides methods for querying the state of the device's battery.
>Battery.ChargerModel
Contains information describing the battery charger.
Cpu
Provides access to CPU-specific functionality.
HardwareProvider
Provides access to information about pin assignments for serial communications devices.
I2CDevice
Represents an instance of the I
2
C interface for an I
2
C device.
I2CDevice.Configuration
Represents a configuration for an I
2
C interface object.
I2CDevice.I2CReadTransaction
Represents an I
2
C transaction that reads from the addressed device.
I2CDevice.I2CTransaction
Represents an I
2
C transaction.
I2CDevice.I2CWriteTransaction
Represents an I
2
C transaction that writes to the addressed device.
InputPort
Represents an instance of an input port that can be used to read the value of a GPIO pin.
InterruptPort
Represents an interrupt port.
OutputPort
Sets the value of a GPIO pin for an instance of the
OutputPort
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.
ScreenMetrics
Contains information about the display device.
SerialPort
Provides a connection to a serial communications port that supports reading and writing.
SerialPort.Configuration
Represents the configuration for a
SerialPort
object.
SPI
Represents an instance of the Microwire/SPI interface for a Microwire/SPI device.
SPI.Configuration
Represents the configuration for an
SPI
interface.
SystemID
Stores information that is unique to each individual hardware system (device).
TristatePort
Represents an instance of the
TristatePort
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
IHardwareProvider
Represents a hardware provider.
Delegates
Name
Description
GPIOInterruptEventHandler
Denotes a delegate that is invoked when an interrupt occurs.
Enumerations
Name
Description
Cpu.Pin
Indentifies the General Purpose Input/Output (GPIO) pins.
Port.InterruptMode
Contains the values you use to set the port interrupt mode. There are six port interrupt modes to choose from.
Port.ResistorMode
Specifies the various port resistor modes.
SerialPort.BaudRate
Specifies the baud rates of serial ports, in bits per second (bps).
SerialPort.Serial
Contains the values with which you set the serial communications port (COM port) you want to use.
SPI.SPI_module
Contains the values that indicate which SPI bus is used for the transaction.