我在LED的例程里直接添加EXTI的C和H文件,也按照教程上的来做好相应配置了,但是还是会报错
....Userkeysp_exti.c(27): error: #20: identifier "NVIC_InitTypeDef" is undefined
....Userkeysp_exti.c(30): warning: #223-D: function "NVIC_PriorityGroupConfig" declared implicitly
....Userkeysp_exti.c(30): error: #20: identifier "NVIC_PriorityGroup_1" is undefined
....Userkeysp_exti.c(37): warning: #223-D: function "NVIC_Init" declared implicitly
....Userkeysp_exti.c(48): error: #20: identifier "EXTI_InitTypeDef" is undefined
....Userkeysp_exti.c(63): error: #20: identifier "EXTI_Line13" is undefined
....Userkeysp_exti.c(64): error: #20: identifier "EXTI_Mode_Interrupt" is undefined
....Userkeysp_exti.c(65): error: #20: identifier "EXTI_Trigger_Falling" is undefined
....Userkeysp_exti.c(67): warning: #223-D: function "EXTI_Init" declared implicitly
都是中断部分的提示没有定义,找不到在哪里出错,求指教!谢谢! |