|
embeddedlibrary
reusable software modules for embedded systems
|
spi transaction structure More...
#include <spi.h>
Data Fields | |
| uint8_t | writeLength |
| write length | |
| uint8_t | readLength |
| read length | |
| uint8_t | readDelay |
| read delay | |
| struct { | |
| volatile uint8_t blocking: 1 | |
| blocking flag | |
| volatile uint8_t finished: 1 | |
| transaction finished flag | |
| volatile uint8_t channel: 3 | |
| channel setting | |
| volatile uint8_t unused: 3 | |
| unused | |
| } | flags |
| void(* | callback )(struct spi_transaction *) |
| callback function | |
| void(* | cs_control )(uint8_t) |
| cs_control | |
| uint8_t | data [SPI_MAX_SIZE] |
| data (write data followed by read data) | |
spi transaction structure