19.6.4.6.3 Function spi_enable_callback()
Enables an SPI callback of a given type.
void spi_enable_callback( struct spi_module *const module, enum spi_callback callback_type)
Enables the callback function registered by the spi_register_callback. The callback function will be called from the interrupt handler when the conditions for the callback type are met.
Data direction | Parameter name | Description |
---|---|---|
[in] | module |
Pointer to SPI software instance struct |
[in] | callback_type |
Callback type given by an enum |