下面是对UART接口初始化的代码,分析其中的代码的作用。void USART1_Config(void){ GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1, ENABLE); (1) USART_InitStructure.USART_BaudRate = 115200; (2) USART_InitStructure.USART_WordLength = USART_WordLength_8b; (3) USART_InitStructure.USART_StopBits = USART_StopBits_1; (4) USART_InitStructure.USART_Parity = USART_Parity_No ; (5) USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx;(6) USART_Init(USART1, &USART_InitStructure); (7) USART_Cmd(USART1, ENABLE); (8)