/* Enables or disables the USART's 8x oversampling mode.  */
void USART_OverSampling8Cmd(USART_TypeDef *USARTx, FunctionalState NewState)
/* Enables or disables the USART's 8x oversampling mode.  */
void USART_OverSampling8Cmd(USART_TypeDef *USARTx, FunctionalState NewState)
{
    assert_param(IS_USART_ALL_PERIPH(USARTx));
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        USARTx->CR1 |= USART_CR1_OVER8;
    }
    else
    {
        USARTx->CR1 &= (uint32_t)~((uint32_t)USART_CR1_OVER8);
    }
}