/* Checks whether the specified LPUART flag is set or not.  */
FlagStatus LPUART_GetFlagStatus(uint16_t LPUART_FLAG)
/* Checks whether the specified LPUART flag is set or not.  */
FlagStatus LPUART_GetFlagStatus(uint16_t LPUART_FLAG)
{
    FlagStatus bitstatus = RESET;
    assert_param(IS_LPUART_FLAG(LPUART_FLAG));
    if ((LPUART->STS & LPUART_FLAG) != (uint16_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}