/* Enables or disables the UART's Smart Card mode.  */
void UART_SmartCardCmd(UART_TypeDef *uart, FunctionalState state)
/* Enables or disables the UART's Smart Card mode.  */
void UART_SmartCardCmd(UART_TypeDef *uart, FunctionalState state)
{
    MODIFY_REG(uart->SCR, UART_SCR_SCEN, state << UART_SCR_SCEN_Pos);
}