An SPI interface
More...
◆ SendReceiveAsync()
Send/receive data
- Parameters
-
dataToWrite | a byte array of the data to send. The length of the transaction is determined by the length of this array. |
chipSelect | The chip select pin, if any, to use during this transaction. |
chipSelectMode | The chip select mode to use during this transaction (if a CS pin is selected) |
speedMhz | The speed to perform this transaction at. |
burstMode | Whether to use one of the burst modes |
spiMode | The SPI mode to use during this transaction. |
- Returns
- An awaitable byte array with the received data.
Implemented in HardwareSpi.
◆ Enabled
Enable or disable the SPI module.
The documentation for this interface was generated from the following file:
- F:/Git/treehopper-sdk/NET/API/Treehopper/Spi.cs