C# Class Microsoft.SPOT.Hardware.HardwareProvider

显示文件 Open project: GerardSoleCa/IOSharp-netmf-Linux Class Usage Examples

Public Methods

Method Description
GetAnalogChannelsCount ( ) : int
GetAnalogOutputChannelsCount ( ) : int
GetAnalogOutputPinForChannel ( Cpu channel ) : Cpu.Pin
GetAnalogPinForChannel ( Cpu channel ) : Cpu.Pin
GetAvailableAnalogOutputPrecisionInBitsForChannel ( Cpu channel ) : int[]
GetAvailablePrecisionInBitsForChannel ( Cpu channel ) : int[]
GetBaudRateBoundary ( int com, uint &MaxBaudRate, uint &MinBaudRate ) : void
GetI2CPins ( Cpu &scl, Cpu &sda ) : void
GetLCDMetrics ( int &width, int &height, int &bitsPerPixel, int &orientationDeg ) : void
GetPWMChannelsCount ( ) : int
GetPinsCount ( ) : int
GetPinsMap ( Cpu &pins, int &PinCount ) : void
GetPinsUsage ( Cpu pin ) : Cpu.PinUsage
GetPwmPinForChannel ( Cpu channel ) : Cpu.Pin
GetSerialPins ( string comPort, Cpu &rxPin, Cpu &txPin, Cpu &ctsPin, Cpu &rtsPin ) : void
GetSerialPortsCount ( ) : int
GetSpiPins ( SPI spi_mod, Cpu &msk, Cpu &miso, Cpu &mosi ) : void
GetSpiPortsCount ( ) : int
GetSupportedInterruptModes ( Cpu pin ) : Cpu.PinValidInterruptMode
GetSupportedResistorModes ( Cpu pin ) : Cpu.PinValidResistorMode
IsSupportedBaudRate ( int com, uint &baudrateHz ) : bool
Register ( HardwareProvider provider ) : void
SupportsNonStandardBaudRate ( int com ) : bool

Method Details

GetAnalogChannelsCount() public method

public GetAnalogChannelsCount ( ) : int
return int

GetAnalogOutputChannelsCount() public method

public GetAnalogOutputChannelsCount ( ) : int
return int

GetAnalogOutputPinForChannel() public method

public GetAnalogOutputPinForChannel ( Cpu channel ) : Cpu.Pin
channel Cpu
return Cpu.Pin

GetAnalogPinForChannel() public method

public GetAnalogPinForChannel ( Cpu channel ) : Cpu.Pin
channel Cpu
return Cpu.Pin

GetAvailableAnalogOutputPrecisionInBitsForChannel() public method

public GetAvailableAnalogOutputPrecisionInBitsForChannel ( Cpu channel ) : int[]
channel Cpu
return int[]

GetAvailablePrecisionInBitsForChannel() public method

public GetAvailablePrecisionInBitsForChannel ( Cpu channel ) : int[]
channel Cpu
return int[]

GetBaudRateBoundary() public method

public GetBaudRateBoundary ( int com, uint &MaxBaudRate, uint &MinBaudRate ) : void
com int
MaxBaudRate uint
MinBaudRate uint
return void

GetI2CPins() public method

public GetI2CPins ( Cpu &scl, Cpu &sda ) : void
scl Cpu
sda Cpu
return void

GetLCDMetrics() public method

public GetLCDMetrics ( int &width, int &height, int &bitsPerPixel, int &orientationDeg ) : void
width int
height int
bitsPerPixel int
orientationDeg int
return void

GetPWMChannelsCount() public method

public GetPWMChannelsCount ( ) : int
return int

GetPinsCount() public method

public GetPinsCount ( ) : int
return int

GetPinsMap() public method

public GetPinsMap ( Cpu &pins, int &PinCount ) : void
pins Cpu
PinCount int
return void

GetPinsUsage() public method

public GetPinsUsage ( Cpu pin ) : Cpu.PinUsage
pin Cpu
return Cpu.PinUsage

GetPwmPinForChannel() public method

public GetPwmPinForChannel ( Cpu channel ) : Cpu.Pin
channel Cpu
return Cpu.Pin

GetSerialPins() public method

public GetSerialPins ( string comPort, Cpu &rxPin, Cpu &txPin, Cpu &ctsPin, Cpu &rtsPin ) : void
comPort string
rxPin Cpu
txPin Cpu
ctsPin Cpu
rtsPin Cpu
return void

GetSerialPortsCount() public method

public GetSerialPortsCount ( ) : int
return int

GetSpiPins() public method

public GetSpiPins ( SPI spi_mod, Cpu &msk, Cpu &miso, Cpu &mosi ) : void
spi_mod SPI
msk Cpu
miso Cpu
mosi Cpu
return void

GetSpiPortsCount() public method

public GetSpiPortsCount ( ) : int
return int

GetSupportedInterruptModes() public method

public GetSupportedInterruptModes ( Cpu pin ) : Cpu.PinValidInterruptMode
pin Cpu
return Cpu.PinValidInterruptMode

GetSupportedResistorModes() public method

public GetSupportedResistorModes ( Cpu pin ) : Cpu.PinValidResistorMode
pin Cpu
return Cpu.PinValidResistorMode

IsSupportedBaudRate() public method

public IsSupportedBaudRate ( int com, uint &baudrateHz ) : bool
com int
baudrateHz uint
return bool

Register() public static method

public static Register ( HardwareProvider provider ) : void
provider HardwareProvider
return void

SupportsNonStandardBaudRate() public method

public SupportsNonStandardBaudRate ( int com ) : bool
com int
return bool