MSPI callback API.
More...
MSPI callback API.
◆ mspi_callback_handler_t
#include <zephyr/drivers/mspi.h>
Define the application callback handler function signature.
- Parameters
-
mspi_cb_ctx | Pointer to the MSPI callback context |
◆ mspi_register_callback()
#include <zephyr/drivers/mspi.h>
Register the mspi callback functions.
This routines provides a generic interface to register mspi callback functions. In generally it should be called before mspi_transceive.
- Parameters
-
controller | Pointer to the device structure for the driver instance. |
dev_id | Pointer to the device ID structure from a device. |
evt_type | The event type associated the callback. |
cb | Pointer to the user implemented callback function. |
ctx | Pointer to the callback context. |
- Return values
-