C# Class CCManager.SPI

Implementation of CC1101 SPI communication modes
Datei anzeigen Open project: jglim/CCManager Class Usage Examples

Public Methods

Method Description
Strobe ( SerialPort sp, byte dataToWrite ) : void
WriteBurstRegister ( SerialPort sp, byte registerAddress, byte buffer ) : void
WriteRegister ( SerialPort sp, byte registerAddress, byte dataToWrite ) : void

Method Details

Strobe() public static method

public static Strobe ( SerialPort sp, byte dataToWrite ) : void
sp System.IO.Ports.SerialPort
dataToWrite byte
return void

WriteBurstRegister() public static method

public static WriteBurstRegister ( SerialPort sp, byte registerAddress, byte buffer ) : void
sp System.IO.Ports.SerialPort
registerAddress byte
buffer byte
return void

WriteRegister() public static method

public static WriteRegister ( SerialPort sp, byte registerAddress, byte dataToWrite ) : void
sp System.IO.Ports.SerialPort
registerAddress byte
dataToWrite byte
return void