/* Enables or disables the USART's most significant bit first transmitted/received following the start bit.  */
void USART_MSBFirstCmd(USART_TypeDef *USARTx, FunctionalState NewState)
/* Enables or disables the USART's most significant bit first transmitted/received following the start bit.  */
void USART_MSBFirstCmd(USART_TypeDef *USARTx, FunctionalState NewState)
{
    assert_param(IS_USART_ALL_PERIPH(USARTx));
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    if (NewState != DISABLE)
    {
        USARTx->CR2 |= USART_CR2_MSBFIRST;
    }
    else
    {
        USARTx->CR2 &= (uint32_t)~((uint32_t)USART_CR2_MSBFIRST);
    }
}