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 1. Parameters
Data direction Parameter name Description

[in]

module

Pointer to SPI software instance struct

[in]

callback_type

Callback type given by an enum