16.6.4.5.4 Function usart_disable_callback()

Disable callback.

void usart_disable_callback( struct usart_module *const module, enum usart_callback callback_type)

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

Table 16-23. Parameters
Data directionParameter nameDescription

[in]

module

Pointer to USART software instance struct

[in]

callback_type

Callback type given by an enum