16.6.4.5.3 Function usart_enable_callback()
Enables callback.
void usart_enable_callback( struct usart_module *const module, enum usart_callback callback_type)
Enables the callback function registered by the usart_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 USART software instance struct |
[in] | callback_type |
Callback type given by an enum |