/* Registers a callback. 
Registers a callback function which is implemented by the user. */
void uart_register_callback(struct uart_module *const module, uart_callback_t callback_func, enum uart_callback callback_type)
/* Registers a callback. 
Registers a callback function which is implemented by the user. */
void uart_register_callback(struct uart_module *const module, uart_callback_t callback_func, enum uart_callback callback_type)
{
	Assert(module);
	Assert(callback_func);
	module->callback[callback_type] = callback_func;
	module->callback_reg_mask |= (1 << callback_type);
}