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

[in]

module

Pointer to USART software instance struct

[in]

callback_type

Callback type given by an enum