|
embeddedlibrary
reusable software modules for embedded systems
|
spi module structure More...
Data Fields | |
| spi_status_t | state |
| state | |
| spi_transaction_t * | currentTransaction_ptr |
| current transaction pointer | |
| list_t | transactionList |
| transaction list | |
| uint8_t | bytesToWrite |
| the number of bytes to write from the buffer | |
| uint8_t | blankBytesToWrite |
| the number of dummy blank bytes to write so reading can occur | |
| uint8_t | bytesToReceive |
| the total number of bytes left to be received from SPI, not neccesarily used | |
| uint8_t | bytesRead |
| the number of bytes read into the data buffer | |
| uint8_t | bytesToDelay |
| the number of bytes to delay when receiving data before reading the bytes to the data buffer | |
spi module structure