/* Asynchronous write a single char. 
Sets up the driver to write the data given. If registered and enabled, a callback function will be called when the transmit is completed. */
enum status_code usart_write_job(struct usart_module *const module, const uint16_t *tx_data)
/* Asynchronous write a single char. 
Sets up the driver to write the data given. If registered and enabled, a callback function will be called when the transmit is completed. */
enum status_code usart_write_job(struct usart_module *const module, const uint16_t *tx_data)
{
	Assert(module);
	Assert(tx_data);
	if (!(module->transmitter_enabled)) {
		return STATUS_ERR_DENIED;
	}
	return _usart_write_buffer(module, (uint8_t *)tx_data, 1);
}