获取外部中断标志位的函数如下,函数调用错误的是ITStatus EXTI_GetITStatus(uint32_t EXTI_Line){ITStatus bitstatus = RESET;uint32_t enablestatus = 0;/* Check the parameters */assert_param(IS_GET_EXTI_LINE(EXTI_Line));enablestatus = EXTI->IMR & EXTI_Line;if (((EXTI->PR & EXTI_Line) != (uint32_t)RESET) && (enablestatus != (uint32_t)RESET)){bitstatus = SET;}else{bitstatus = RESET;}return bitstatus;}
A. char flag;flag=EXTI2_GetITStatus(EXTI_Line2)if(flag){}
B. if(EXTI2_GetITStatus(EXTI_Line0)==1){}
C. if(EXTI2_GetITStatus( )==1){}
D. while(EXTI2_GetITStatus(EXTI_Line0)==1){}
查看答案
STM32中,什么情况下,可能会向CPU申请外部中断
A. 芯片IO口的引脚输入上升沿信号
B. 芯片IO口的引脚输入下降沿信号
C. 芯片IO口的引脚输入双边沿信号
D. 通过软件程序,向中断事件寄存器中写1
使用PB1口作为外部中断,需要使能()时钟
A. 使能GPIOA时钟
B. 使能GPIOB时钟
C. 使能AFIO时钟
D. 使能USART1时钟
使用PB1口作为外部中断,需要设置IO口为()
A. 上/下拉输入
B. 推挽输出
C. 复用推挽输出
D. 浮空输入
《课程标准》第三学段提出:默读有一定速度,默读一般读物每分钟不少于( )字
A. 100
B. 200
C. 300
D. 400