34.6.2.10 spi_s_sync_get_io_descriptor
Return I/O descriptor for this SPI instance.
int32_t spi_s_sync_get_io_descriptor(
struct spi_s_sync_descriptor * spi,
struct io_descriptor ** io
)
This function will return an I/O instance for this SPI driver instance
Parameters
- spi
-
Type: struct spi_s_sync_descriptor Struct *
An SPI slave descriptor, which is used to communicate through SPI
- io
-
Type: struct io_descriptor Struct **
A pointer to an I/O descriptor pointer type
Returns
Type: int32_t
Error code.
- 0
-
No error detected
- <0
-
Error code