/* Transmit one 4-9 bit frame. 
Notice that possible parity/stop bits in asynchronous mode are not considered part of specified frame bit length. */
void USART_Tx(USART_TypeDef *usart, uint8_t data)
/* Transmit one 4-9 bit frame. 
Notice that possible parity/stop bits in asynchronous mode are not considered part of specified frame bit length. */
void USART_Tx(USART_TypeDef *usart, uint8_t data)
{
  while (!(usart->STATUS & USART_STATUS_TXBL));
  usart->TXDATA = (uint32_t)data;
}