C# Class IOSharp.NETMF.RaspberryPi.Hardware.RaspberryPiHWProvider

Inheritance: Microsoft.SPOT.Hardware.HardwareProvider
Mostrar archivo Open project: GerardSoleCa/IOSharp-netmf-Linux

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
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 Microsoft.SPOT.Hardware.Cpu
return Cpu.Pin

GetAnalogPinForChannel() public method

public GetAnalogPinForChannel ( Cpu channel ) : Cpu.Pin
channel Microsoft.SPOT.Hardware.Cpu
return Cpu.Pin

GetAvailableAnalogOutputPrecisionInBitsForChannel() public method

public GetAvailableAnalogOutputPrecisionInBitsForChannel ( Cpu channel ) : int[]
channel Microsoft.SPOT.Hardware.Cpu
return int[]

GetAvailablePrecisionInBitsForChannel() public method

public GetAvailablePrecisionInBitsForChannel ( Cpu channel ) : int[]
channel Microsoft.SPOT.Hardware.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 Microsoft.SPOT.Hardware.Cpu
sda Microsoft.SPOT.Hardware.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 Microsoft.SPOT.Hardware.Cpu
PinCount int
return void

GetPinsUsage() public method

public GetPinsUsage ( Cpu pin ) : Cpu.PinUsage
pin Microsoft.SPOT.Hardware.Cpu
return Cpu.PinUsage

GetPwmPinForChannel() public method

public GetPwmPinForChannel ( Cpu channel ) : Cpu.Pin
channel Microsoft.SPOT.Hardware.Cpu
return Cpu.Pin

GetSerialPins() public method

public GetSerialPins ( string comPort, Cpu &rxPin, Cpu &txPin, Cpu &ctsPin, Cpu &rtsPin ) : void
comPort string
rxPin Microsoft.SPOT.Hardware.Cpu
txPin Microsoft.SPOT.Hardware.Cpu
ctsPin Microsoft.SPOT.Hardware.Cpu
rtsPin Microsoft.SPOT.Hardware.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 Microsoft.SPOT.Hardware.SPI
msk Microsoft.SPOT.Hardware.Cpu
miso Microsoft.SPOT.Hardware.Cpu
mosi Microsoft.SPOT.Hardware.Cpu
return void

GetSpiPortsCount() public method

public GetSpiPortsCount ( ) : int
return int

GetSupportedInterruptModes() public method

public GetSupportedInterruptModes ( Cpu pin ) : Cpu.PinValidInterruptMode
pin Microsoft.SPOT.Hardware.Cpu
return Cpu.PinValidInterruptMode

GetSupportedResistorModes() public method

public GetSupportedResistorModes ( Cpu pin ) : Cpu.PinValidResistorMode
pin Microsoft.SPOT.Hardware.Cpu
return Cpu.PinValidResistorMode

IsSupportedBaudRate() public method

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

SupportsNonStandardBaudRate() public method

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