C# Class CCManager.SPI

Implementation of CC1101 SPI communication modes
Afficher le fichier Open project: jglim/CCManager Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

WriteBurstRegister() public static méthode

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

WriteRegister() public static méthode

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