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