/* Enables or disables LPUART Wakeup in STOP2 mode.  */
void LPUART_EnableWakeUpStop(FunctionalState Cmd)
/* Enables or disables LPUART Wakeup in STOP2 mode.  */
void LPUART_EnableWakeUpStop(FunctionalState Cmd)
{
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    if (Cmd != DISABLE)
    {
        LPUART->CTRL |= CTRL_WUSTP_SET;
    }
    else
    {
        LPUART->CTRL &= CTRL_WUSTP_RESET;
    }
}