打印

关于按键中断的(新人求助)

[复制链接]
444|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
过期账户|  楼主 | 2018-6-30 09:22 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
TI, se, ni, ic, ident
我在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

都是中断部分的提示没有定义,找不到在哪里出错,求指教!谢谢!

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

395

主题

395

帖子

0

粉丝