![]() |
0.01.00
|
This file includes the platform abstraction for SPI slave communication. More...
Go to the source code of this file.
Typedefs | |
typedef bool(* | otPlatSpiSlaveTransactionCompleteCallback) (void *aContext, uint8_t *aOutputBuf, uint16_t aOutputBufLen, uint8_t *aInputBuf, uint16_t aInputBufLen, uint16_t aTransactionLength) |
Indicates that a SPI transaction has completed with the given length. More... | |
typedef void(* | otPlatSpiSlaveTransactionProcessCallback) (void *aContext) |
Invoked after a transaction complete callback is called and returns TRUE to do any further processing required. More... | |
Functions | |
otError | otPlatSpiSlaveEnable (otPlatSpiSlaveTransactionCompleteCallback aCompleteCallback, otPlatSpiSlaveTransactionProcessCallback aProcessCallback, void *aContext) |
Initialize the SPI slave interface. More... | |
void | otPlatSpiSlaveDisable (void) |
Shutdown and disable the SPI slave interface. | |
otError | otPlatSpiSlavePrepareTransaction (uint8_t *aOutputBuf, uint16_t aOutputBufLen, uint8_t *aInputBuf, uint16_t aInputBufLen, bool aRequestTransactionFlag) |
Prepare data for the next SPI transaction. More... | |
This file includes the platform abstraction for SPI slave communication.