Registers a SPI callback function.
void spi_register_callback( struct spi_module *const module, spi_callback_t callback_func, enum spi_callback callback_type)
Registers a callback function which is implemented by the user.
| Data direction | Parameter name | Description |
|---|---|---|
[in] |
module |
Pointer to USART software instance struct |
[in] |
callback_func |
Pointer to callback function |
[in] |
callback_type |
Callback type given by an enum |