/* Enables or disables the Pin(s) active level inversion.  */
void USART_InvPinCmd(USART_TypeDef *USARTx, uint32_t USART_InvPin, FunctionalState NewState)
/* Enables or disables the Pin(s) active level inversion.  */
void USART_InvPinCmd(USART_TypeDef *USARTx, uint32_t USART_InvPin, FunctionalState NewState)
{
    assert_param(IS_USART_ALL_PERIPH(USARTx));
    assert_param(IS_USART_INVERSTION_PIN(USART_InvPin));
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        USARTx->CR2 |= USART_InvPin;
    }
    else
    {
        USARTx->CR2 &= (uint32_t)~USART_InvPin;
    }
}