19.6.4.6.4 Function spi_disable_callback()

Disables callback.

void spi_disable_callback( struct spi_module *const module, enum spi_callback callback_type)

Disables the callback function registered by the spi_register_callback, and the callback will not be called from the interrupt routine.

Table 19-44. Parameters
Data directionParameter nameDescription

[in]

module

Pointer to SPI software instance struct

[in]

callback_type

Callback type given by an enum