|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
#include <spi_io_api.h>
Data Fields | |
| JUNO_STATUS_T(* | Transaction )(JUNO_SPI_IO_ROOT_T *ptIo, char *pcReadBuff, size_t zReadBuffSize, const void *pvWriteBuff, size_t zWriteBuffSize) |
| Perform an SPI transaction. | |
| JUNO_STATUS_T(* JUNO_SPI_IO_API_TAG::Transaction) (JUNO_SPI_IO_ROOT_T *ptIo, char *pcReadBuff, size_t zReadBuffSize, const void *pvWriteBuff, size_t zWriteBuffSize) |
Perform an SPI transaction.
| ptIo | SPI instance. |
| pcReadBuff | Destination for received bytes (optional if zReadBuffSize==0). |
| zReadBuffSize | Number of bytes to read. |
| pvWriteBuff | Source buffer to transmit (optional if zWriteBuffSize==0). |
| zWriteBuffSize | Number of bytes to write. |