/* Transmit one 8-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 LEUART_TxExt(LEUART_TypeDef *leuart, uint16_t data)
/* Transmit one 8-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 LEUART_TxExt(LEUART_TypeDef *leuart, uint16_t data)
{
  while (!(leuart->STATUS & LEUART_STATUS_TXBL))
    ;
  LEUART_Sync(leuart, LEUART_SYNCBUSY_TXDATAX);
  leuart->TXDATAX = (uint32_t)data;
}