Azure Sphere MT3620 M4 API Reference Manual
|
This section introduces the typedef that SPIM OS-HAL used. More...
This section introduces the typedef that SPIM OS-HAL used.
Typedefs | |
typedef int(* | spi_usr_complete_callback )(void *context) |
This defines the callback function prototype. More... | |
typedef int(* spi_usr_complete_callback)(void *context) |
This defines the callback function prototype.
It's called to report transaction completions.
User can register the callback function when using SPIM mtk_os_hal_spim_async_transfer API.
When one transaction is done, this user callback will be called in fifo interrupt function (fifo mode) or in dma callback function (dma mode).
[in] | context | : the argument to spi_usr_complete_callback() when it's called. |