MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
Data received from the SPI bus More...
Public Member Functions | |
void | Read (byte slaveSelectPin, byte clockPin, byte mosiPin, byte misoPin, byte mode, SpiFrequency frequency, byte[] data=null, bool lsbFirst=true, bool useNativePins=true) |
Read data via the SPI bus More... | |
Public Member Functions inherited from MbientLab.MetaWear.IDataProducer | |
Task< IRoute > | AddRouteAsync (Action< IRouteComponent > builder) |
Adds a data route to the producer More... | |
Data received from the SPI bus
void MbientLab.MetaWear.Peripheral.SerialPassthrough.ISPIDataProducer.Read | ( | byte | slaveSelectPin, |
byte | clockPin, | ||
byte | mosiPin, | ||
byte | misoPin, | ||
byte | mode, | ||
SpiFrequency | frequency, | ||
byte [] | data = null , |
||
bool | lsbFirst = true , |
||
bool | useNativePins = true |
||
) |
Read data via the SPI bus
slaveSelectPin | Pin for slave select |
clockPin | Pin for serial clock |
mosiPin | Pin for master output, slave input |
misoPin | Pin for master input, slave output |
mode | SPI operating mode, see SPI Wiki Page |
frequency | SPI operating frequency |
data | Data to write to the device before the read, defaults to null |
lsbFirst | True to have LSB sent first, defaults to true |
useNativePins | True to use the nRF pin mappings rather than the GPIO pin mappings, defaults to true |