NVIC_InitStructure.NVIC_IRQChannel = EXTI0_IRQn;
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority =0x02;
NVIC_InitStructure.NVIC_IRQChannelSubPriority =0x03;
NVIC_InitStructure.NVIC_IRQChannelCmd=ENABLE;
NVIC_Init(&NVIC_InitStructure);
这段代码编译后出现
..HARDWAREEXTIexti.c(80): error: #20: identifier "EXTI0_IRQn" is undefined
神马情况,求大神指教
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
---------------------------------
..HARDWAREEXTIexti.c(10): error: #20: identifier "EXTI_InitTypeDef" is undefined
..HARDWAREEXTIexti.c(18): error: #20: identifier "EXTI_Line2" is undefined
..HARDWAREEXTIexti.c(19): error: #20: identifier "EXTI_Mode_Interrupt" is undefined
..HARDWAREEXTIexti.c(20): error: #20: identifier "EXTI_Strigger_falling" is undefined
…………
不知怎么解决?
---------------------------------
没有加入exti相关的头文件
一周热门 更多>