..HARDWAREEXTIexti.c(25): error: #20: identifier "EXTI_InitTypeDef" is undefined
EXTI_InitTypeDef EXTI_InitStructure;
..HARDWAREEXTIexti.c(35): error: #20: identifier "EXTI_Line5" is undefined
EXTI_InitStructure.EXTI_Line=EXTI_Line5;
..HARDWAREEXTIexti.c(36): error: #20: identifier "EXTI_Mode_Interrupt" is undefined
EXTI_InitStructure.EXTI_Mode = EXTI_Mode_Interrupt;
..HARDWAREEXTIexti.c(37): error: #20: identifier "EXTI_Trigger_Falling" is undefined
EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Falling;//下降沿触发
..HARDWAREEXTIexti.c(39): warning: #223-D: function "EXTI_Init" declared implicitly
EXTI_Init(&EXTI_InitStructure); //根据EXTI_InitStruct中指定的参数初始化外设EXTI寄存器
..HARDWAREEXTIexti.c(44): error: #20: identifier "EXTI_Line15" is undefined
EXTI_InitStructure.EXTI_Line=EXTI_Line15;
..HARDWAREEXTIexti.c(53): error: #20: identifier "EXTI_Line0" is undefined
EXTI_InitStructure.EXTI_Line=EXTI_Line0;
..HARDWAREEXTIexti.c(55): error: #20: identifier "EXTI_Trigger_Rising" is undefined
EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Rising;
..HARDWAREEXTIexti.c(98): error: #20: identifier "t" is undefined
t=t++;
..HARDWAREEXTIexti.c(100): warning: #223-D: function "EXTI_ClearITPendingBit" declared implicitly
EXTI_ClearITPendingBit(EXTI_Line5); //清除LINE5上的中断标志位
..HARDWAREEXTIexti.c(100): error: #20: identifier "EXTI_Line5" is undefined
EXTI_ClearITPendingBit(EXTI_Line5); //清除LINE5上的中断标志位
..HARDWAREEXTIexti.c(109): error: #20: identifier "t" is undefined
t=t++;
..HARDWAREEXTIexti.c(111): warning: #223-D: function "EXTI_ClearITPendingBit" declared implicitly
EXTI_ClearITPendingBit(EXTI_Line15); //清除LINE15线路挂起位
..HARDWAREEXTIexti.c(111): error: #20: identifier "EXTI_Line15" is undefined
EXTI_ClearITPendingBit(EXTI_Line15); //清除LINE15线路挂起位
..HARDWAREEXTIexti.c: 3 warnings, 11 errors
"..HARDWAREEXTIexti.c" - 11 Error(s), 3 Warning(s).
我找了,没有发现少头文件呀
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>