SPIMaster_InitTransfers Function
Header: #include <applibs/spi.h>
Initializes an array of SPIMaster_Transfer structs with the default SPI master transfer settings.
static inline int SPIMaster_InitTransfers(SPIMaster_Transfer *transfers, size_t transferCount);
Parameters
transfersA pointer to the array of SPIMaster_Transfer structs to initialize.transferCountThe number of structs in thetransfersarray.
Return value
Returns 0 for success, or -1 for failure, in which case errno will be set to the error value.
Application manifest requirements
To access individual SPI interfaces, your application must identify them in the SpiMaster field of the application manifest.
Povratne informacije
Pošalјite i prikažite povratne informacije za