/* Enables or disables the USART's one bit sampling method.  */
void USART_OneBitMethodCmd(USART_TypeDef *USARTx, FunctionalState NewState)
/* Enables or disables the USART's one bit sampling method.  */
void USART_OneBitMethodCmd(USART_TypeDef *USARTx, FunctionalState NewState)
{
    assert_param(IS_USART_ALL_PERIPH(USARTx));
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        USARTx->CR3 |= USART_CR3_ONEBIT;
    }
    else
    {
        USARTx->CR3 &= (uint32_t)~((uint32_t)USART_CR3_ONEBIT);
    }
}