LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
JUNO_SPI_IO_API_TAG Struct Reference

#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.
 

Field Documentation

◆ 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.

Parameters
ptIoSPI instance.
pcReadBuffDestination for received bytes (optional if zReadBuffSize==0).
zReadBuffSizeNumber of bytes to read.
pvWriteBuffSource buffer to transmit (optional if zWriteBuffSize==0).
zWriteBuffSizeNumber of bytes to write.

The documentation for this struct was generated from the following file: