/* Returns the most recent received data by the UARTx peripheral.  */
uint16_t UART_ReceiveData(UART_TypeDef *UARTx)
/* Returns the most recent received data by the UARTx peripheral.  */
uint16_t UART_ReceiveData(UART_TypeDef *UARTx)
{
    assert_param(IS_UART_ALL_PERIPH(UARTx));
    return (uint16_t)(UARTx->RDR & (uint16_t)0x00FF);
}