/* Enables or disables the specified USART peripheral in STOP Mode.  */
void USART_STOPModeCmd(USART_TypeDef *USARTx, FunctionalState NewState)
/* Enables or disables the specified USART peripheral in STOP Mode.  */
void USART_STOPModeCmd(USART_TypeDef *USARTx, FunctionalState NewState)
{
    assert_param(IS_USART_123_PERIPH(USARTx));
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        USARTx->CR1 |= USART_CR1_UESM;
    }
    else
    {
        USARTx->CR1 &= (uint32_t)~((uint32_t)USART_CR1_UESM);
    }
}