34.5.4.12 spi_s_async_get_io_descriptor
Return I/O descriptor for this SPI instance.
int32_t spi_s_async_get_io_descriptor(
struct spi_s_async_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_async_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