HardwareProvider Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides access to hardware capability information.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Hardware..::..HardwareProvider
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Class HardwareProvider
public class HardwareProvider
public ref class HardwareProvider
type HardwareProvider = class end
public class HardwareProvider
The HardwareProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
HardwareProvider | initializes a new instance of the HardwareProvider class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() ![]() |
HwProvider | Provides the mechanism whereby the default HardwareProvider implementation in the .NET Micro Framework is automatically overridden by a customer's implementation. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetAnalogChannelsCount | Gets the number of analog channels assigned to this device. |
![]() |
GetAnalogOutputChannelsCount | |
![]() |
GetAnalogOutputPinForChannel | |
![]() |
GetAnalogPinForChannel | Gets the pin assigned to the specified channel. |
![]() |
GetAvailableAnalogOutputPrecisionInBitsForChannel | |
![]() |
GetAvailablePrecisionInBitsForChannel | Gets the available precision assigned to the specified channel. |
![]() |
GetBaudRateBoundary | Gets the maximum and minimum baud rates for a specified COM port. |
![]() |
GetButtonPins | Gets the pin assigned to a specified button device. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetI2CPins | Gets the GPIO pin assignments for the I2C device. |
![]() |
GetLCDMetrics | Gets the size, color-depth, and orientation of the LCD display device. |
![]() |
GetPinsCount | Gets the pin count for the device associated with this HardwareProvider. |
![]() |
GetPinsMap | Gets a pin map for the device associated with this HardwareProvider. |
![]() |
GetPinsUsage | Gets the value from the Cpu..::..PinUsage enumeration that describes the usage of a specified pin. |
![]() |
GetPWMChannelsCount | Gets the number of PWM channels assigned to the device. |
![]() |
GetPwmPinForChannel | Gets the pin assigned to the specified channel. |
![]() |
GetSerialPins | Gets the GPIO pin assignments for the specified communications port (COM port). |
![]() |
GetSerialPortsCount | Gets the count of serial ports associated with this HardwareProvider. |
![]() |
GetSpiPins | Gets the GPIO pin assignments for the SPI device. |
![]() |
GetSpiPortsCount | Gets the number of SPI ports associated with this HardwareProvider. |
![]() |
GetSupportBaudRates | Gets all the baud rates supported by a specified COM port. |
![]() |
GetSupportedInterruptModes | Gets the supported interrupt modes for a specified pin. |
![]() |
GetSupportedResistorModes | Gets the supported resistor modes for a specified pin. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IsSupportedBaudRate | Determines whether a specified baud rate is supported by a specified COM port. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() |
Register | Instantiates a static HardwareProvider that stores information about how the serial communications GPIO pins are used. |
![]() |
SupportsNonStandardBaudRate | Determines whether a specified COM port supports a non-standard baud rate. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)