Code:
UART_ConfigTypeDef uart_config;
uart_config.baud_rate = BIT_RATE_115200;
uart_config.data_bits = UART_WordLength_8b;
uart_config.parity = USART_Parity_None;
uart_config.stop_bits = USART_StopBits_1;
uart_config.flow_ctrl = USART_HardwareFlowControl_None;
uart_config.UART_RxFlowThresh = 120;
uart_config.UART_InverseMask = UART_None_Inverse;
UART_ParamConfig(UART1, &uart_config);
UART_SetPrintPort(UART1);
Statistics: Posted by jhinkle — Thu Apr 28, 2016 12:44 am
Statistics: Posted by hualaonanxiaoniao — Wed Apr 27, 2016 4:29 pm
Statistics: Posted by IPQ — Tue Apr 12, 2016 2:32 pm