Share via


Microsoft.SPOT.Hardware Namespace

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides hardware features for developing embedded device firmware.

Classes

  Class Description
Public class AnalogInput Represents an analog input
Public class AnalogOutput
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 hardware capability information.
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 LargeBuffer Allows you to create a byte array that is larger than the size that is allowed by the managed heap, and enables transferring large data items to and from native code.
Public class LargeBufferMarshaller Enables marshalling of LargeBuffer objects to and from native code.
Public class NativeEventDispatcher Coordinates the dispatching of hardware events.
Public class OneWire Represents the OneWire implementation.
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 PowerEvent Contains information about a power event.
Public class PowerState Encapsulates the power management functionality of the .NET Micro Framework.
Public class PWM Represents a PWM port.
Public class SleepEvent Contains information about a sleep event.
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 SystemInfo Provides information about this system.
Public class SystemInfo. . :: . .SystemID Stores information that is unique to each individual hardware system (device).
Public class TristatePort Contains members that can be used with input and output pins.
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.
Public class Watchdog Determines the watchdog behavior.
Public class WatchdogEvent The object that is sent during Watchdog events.
Public class WatchdogException An exception that will be thrown if the watchdog timer fires and the watchdog behavior is set to DebugBreak_Managed.

Delegates

  Delegate Description
Public delegate LargeBufferMarshaller. . :: . .LargeBufferEventHandler Delegate method for the OnLargeBufferRequest event.
Public delegate NativeEventHandler A multicast (combinable) delegate that defines the event handler for a native event.
Public delegate PowerLevelChangeEventHandler The event handler delegate for the OnPowerLevelChange event.
Public delegate RebootEventHandler The event handler delegate for the OnRebootEvent event.
Public delegate SleepChangeEventHandler The event handler delegate for the OnSleepChange event.

Enumerations

  Enumeration Description
Public enumeration Button Values used to identify the meaning of a button.
Public enumeration Cpu. . :: . .AnalogChannel Represents the channel for the analog input.
Public enumeration Cpu. . :: . .AnalogOutputChannel
Public enumeration Cpu. . :: . .Pin Indentifies the General Purpose Input/Output (GPIO) pins.
Public enumeration Cpu. . :: . .PinUsage A list of values used to define the usage of a hardware pin.
Public enumeration Cpu. . :: . .PinValidInterruptMode Provides values defining valid interrupt modes for a pin.
Public enumeration Cpu. . :: . .PinValidResistorMode Provides values defining valid resistor modes for a pin.
Public enumeration Cpu. . :: . .PWMChannel Indentifies the Pulse-Width Modulation (PWM) Channels.
Public enumeration HardwareEvent Defines named event flags to specify which events cause the system to awake from a sleep state.
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 PowerEventType Indicates what type of power event occurred.
Public enumeration PowerLevel Defines the names of the default power state levels for a .NET Micro Framework device.
Public enumeration PWM. . :: . .ScaleFactor Provides scale factor values for duration and period.
Public enumeration SleepEventType Indicates what type of sleep event occurred.
Public enumeration SleepLevel Defines the default named sleep levels for the .NET Micro Framework.
Public enumeration SPI. . :: . .SPI_module Contains the values that indicate which SPI bus is used for the transaction.
Public enumeration WatchdogBehavior Defines named ways that the system can handle watchdog events.