C# Class NetduinoApplication1.Program

Mostra file Open project: wramsdell/Netduino_Example

Public Methods

Method Description
GetData ( Microsoft.SPOT.Hardware.I2CDevice FPGA, byte Port ) : byte
GetMemory ( SPI spi, byte address ) : uint
GetPwmParameter ( SPI spi, byte channel, PwmParam param ) : uint
GetVersion ( SPI spi ) : uint
GreenLEDOff ( SPI spi ) : void
GreenLEDOn ( SPI spi ) : void
Main ( ) : void
PWMStart ( SPI spi ) : void
PWMStop ( SPI spi ) : void
PwmGo ( SPI spi ) : void
PwmStop ( SPI spi ) : void
ReadReg ( SPI spi, byte Addr ) : int
RedLEDOff ( SPI spi ) : void
RedLEDOn ( SPI spi ) : void
SetGreenLED ( SPI spi, bool state ) : void
SetMemory ( SPI spi, byte address, uint Data ) : void
SetPWM ( SPI spi, byte channel, int risetime, int falltime, int period ) : void
SetPinState ( SPI spi, byte pin, bool state ) : void
SetPinType ( SPI spi, byte pin, PinType type ) : void
SetPwmParameter ( SPI spi, byte channel, PwmParam param, uint data ) : void
SetRedLED ( Microsoft.SPOT.Hardware.I2CDevice FPGA, bool state ) : void
SetRedLED ( SPI spi, bool state ) : void
SetTerminate ( SPI spi, int Data ) : void
SetTerminate ( SPI spi, uint Data ) : void
WriteReg ( SPI spi, byte Addr, int Data ) : void

Method Details

GetData() public static method

public static GetData ( Microsoft.SPOT.Hardware.I2CDevice FPGA, byte Port ) : byte
FPGA Microsoft.SPOT.Hardware.I2CDevice
Port byte
return byte

GetMemory() public static method

public static GetMemory ( SPI spi, byte address ) : uint
spi Microsoft.SPOT.Hardware.SPI
address byte
return uint

GetPwmParameter() public static method

public static GetPwmParameter ( SPI spi, byte channel, PwmParam param ) : uint
spi Microsoft.SPOT.Hardware.SPI
channel byte
param PwmParam
return uint

GetVersion() public static method

public static GetVersion ( SPI spi ) : uint
spi Microsoft.SPOT.Hardware.SPI
return uint

GreenLEDOff() public static method

public static GreenLEDOff ( SPI spi ) : void
spi Microsoft.SPOT.Hardware.SPI
return void

GreenLEDOn() public static method

public static GreenLEDOn ( SPI spi ) : void
spi Microsoft.SPOT.Hardware.SPI
return void

Main() public static method

public static Main ( ) : void
return void

PWMStart() public static method

public static PWMStart ( SPI spi ) : void
spi Microsoft.SPOT.Hardware.SPI
return void

PWMStop() public static method

public static PWMStop ( SPI spi ) : void
spi Microsoft.SPOT.Hardware.SPI
return void

PwmGo() public static method

public static PwmGo ( SPI spi ) : void
spi Microsoft.SPOT.Hardware.SPI
return void

PwmStop() public static method

public static PwmStop ( SPI spi ) : void
spi Microsoft.SPOT.Hardware.SPI
return void

ReadReg() public static method

public static ReadReg ( SPI spi, byte Addr ) : int
spi Microsoft.SPOT.Hardware.SPI
Addr byte
return int

RedLEDOff() public static method

public static RedLEDOff ( SPI spi ) : void
spi Microsoft.SPOT.Hardware.SPI
return void

RedLEDOn() public static method

public static RedLEDOn ( SPI spi ) : void
spi Microsoft.SPOT.Hardware.SPI
return void

SetGreenLED() public static method

public static SetGreenLED ( SPI spi, bool state ) : void
spi Microsoft.SPOT.Hardware.SPI
state bool
return void

SetMemory() public static method

public static SetMemory ( SPI spi, byte address, uint Data ) : void
spi Microsoft.SPOT.Hardware.SPI
address byte
Data uint
return void

SetPWM() public static method

public static SetPWM ( SPI spi, byte channel, int risetime, int falltime, int period ) : void
spi Microsoft.SPOT.Hardware.SPI
channel byte
risetime int
falltime int
period int
return void

SetPinState() public static method

public static SetPinState ( SPI spi, byte pin, bool state ) : void
spi Microsoft.SPOT.Hardware.SPI
pin byte
state bool
return void

SetPinType() public static method

public static SetPinType ( SPI spi, byte pin, PinType type ) : void
spi Microsoft.SPOT.Hardware.SPI
pin byte
type PinType
return void

SetPwmParameter() public static method

public static SetPwmParameter ( SPI spi, byte channel, PwmParam param, uint data ) : void
spi Microsoft.SPOT.Hardware.SPI
channel byte
param PwmParam
data uint
return void

SetRedLED() public static method

public static SetRedLED ( Microsoft.SPOT.Hardware.I2CDevice FPGA, bool state ) : void
FPGA Microsoft.SPOT.Hardware.I2CDevice
state bool
return void

SetRedLED() public static method

public static SetRedLED ( SPI spi, bool state ) : void
spi Microsoft.SPOT.Hardware.SPI
state bool
return void

SetTerminate() public static method

public static SetTerminate ( SPI spi, int Data ) : void
spi Microsoft.SPOT.Hardware.SPI
Data int
return void

SetTerminate() public static method

public static SetTerminate ( SPI spi, uint Data ) : void
spi Microsoft.SPOT.Hardware.SPI
Data uint
return void

WriteReg() public static method

public static WriteReg ( SPI spi, byte Addr, int Data ) : void
spi Microsoft.SPOT.Hardware.SPI
Addr byte
Data int
return void