/* Enables or disables the USART's Smart Card mode.  */
void USART_SmartCardCmd(USART_TypeDef *USARTx, FunctionalState NewState)
/* Enables or disables the USART's Smart Card mode.  */
void USART_SmartCardCmd(USART_TypeDef *USARTx, FunctionalState NewState)
{
  assert_param(IS_USART_1_PERIPH(USARTx));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    USARTx->CR3 |= USART_CR3_SCEN;
  }
  else
  {
    USARTx->CR3 &= (uint32_t)~((uint32_t)USART_CR3_SCEN);
  }
}