/* Return the length of received data. 
@method UART_ReceiveDataLen  */
uint32_t UART_ReceiveDataLen(UART_TypeDef *UARTx)
/* Return the length of received data. 
@method UART_ReceiveDataLen  */
uint32_t UART_ReceiveDataLen(UART_TypeDef *UARTx)
{
    _ASSERT(IS_UART(UARTx));
    return (UARTx->STATUS.bit.RX_ITEMS_H << 16) + UARTx->STATUS.bit.RX_ITEMS_L;
}