|
WISP ERT (Client)
1.0.0
The WISP Extended Runtime (WISP side)
|
Functions | |
| BOOL | SPI_initialize () |
| BOOL | SPI_acquirePort () |
| BOOL | SPI_releasePort () |
| BOOL | SPI_transaction (uint8_t *rxBuf, uint8_t *txBuf, uint16_t size) |
Variables | |
| uint8_t | gpRxBuf [SPI_GP_RXBUF_SIZE] |
| struct { | |
| BOOL bPortInUse | |
| BOOL bNewDataReceived | |
| unsigned int uiCurRx | |
| unsigned int uiCurTx | |
| unsigned int uiBytesToSend | |
| uint8_t * pcRxBuffer | |
| uint8_t * pcTxBuffer | |
| } | spiSM |
| BOOL SPI_acquirePort | ( | ) |
| BOOL SPI_releasePort | ( | ) |
| BOOL SPI_transaction | ( | uint8_t * | rxBuf, |
| uint8_t * | txBuf, | ||
| uint16_t | size | ||
| ) |
Engage in a synchronous serial transaction of the specified length. This function blocks until transaction is complete.
| txBuf | |
| size |
| BOOL bNewDataReceived |
| BOOL bPortInUse |
| uint8_t gpRxBuf[SPI_GP_RXBUF_SIZE] |
sensor_spi.c
| uint8_t* pcRxBuffer |
| uint8_t* pcTxBuffer |
| struct { ... } spiSM |
Description of state of the SPI module.
| unsigned int uiBytesToSend |
| unsigned int uiCurRx |
| unsigned int uiCurTx |