高等继续教育 / 嵌入式系统导论
题型描述: 编程题
阅读程序回答下面问题。
void USART1_Config(void)
{
USART_InitTypeDef USART_InitStructure;
......
USART_InitStructure.USART_BaudRate = 115200;
USART_InitStructure.USART_WordLength = USART_WordLength_8b;
USART_InitStructure.USART_StopBits = USART_StopBits_1;
USART_InitStructure.USART_Parity = USART_Parity_No ;
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx;
USART_Init(USART1, &USART_InitStructure);
USART_Cmd(USART1, ENABLE);
}
(1)调用该函数后,USART1的传送速率是多少?
(2)调用该函数后,USART1在数据传送过程中有无进行奇偶校验?
参考答案:
佳题速递: