STM32F103系列用keil编程时出现错误
F:\实验\test3.c(106):error:#20:identifier"EXTI_InitTypeDef"isundefinedF:\实验\test3.c(117...
F:\实验\test3.c(106): error: #20: identifier "EXTI_InitTypeDef" is undefined
F:\实验\test3.c(117): warning: #223-D: function "EXTI_ClearITPendingBit" declared implicitly
F:\实验\test3.c(117): error: #20: identifier "EXTI_Line4" is undefined
F:\实验\test3.c(119): error: #20: identifier "EXTI_Line8" is undefined
F:\实验\test3.c(120): error: #20: identifier "EXTI_Mode_Interrupt" is undefined
F:\实验\test3.c(121): error: #20: identifier "EXTI_Trigger_Falling" is undefined
F:\实验\test3.c(123): warning: #223-D: function "EXTI_Init" declared implicitly
F:\实验\test3.c(218): error: #20: identifier "EXTI9_5_IRQChannel" is undefined
F:\实验\test3.c(264): warning: #223-D: function "EXTI_GetITStatus" declared implicitly
F:\实验\test3.c(264): error: #20: identifier "EXTI_Line8" is undefined
F:\实验\test3.c(266): warning: #223-D: function "EXTI_ClearITPendingBit" declared implicitly
请问是哪个库文件没有添加进project中,导致EXTI中断没有定义吗? 展开
F:\实验\test3.c(117): warning: #223-D: function "EXTI_ClearITPendingBit" declared implicitly
F:\实验\test3.c(117): error: #20: identifier "EXTI_Line4" is undefined
F:\实验\test3.c(119): error: #20: identifier "EXTI_Line8" is undefined
F:\实验\test3.c(120): error: #20: identifier "EXTI_Mode_Interrupt" is undefined
F:\实验\test3.c(121): error: #20: identifier "EXTI_Trigger_Falling" is undefined
F:\实验\test3.c(123): warning: #223-D: function "EXTI_Init" declared implicitly
F:\实验\test3.c(218): error: #20: identifier "EXTI9_5_IRQChannel" is undefined
F:\实验\test3.c(264): warning: #223-D: function "EXTI_GetITStatus" declared implicitly
F:\实验\test3.c(264): error: #20: identifier "EXTI_Line8" is undefined
F:\实验\test3.c(266): warning: #223-D: function "EXTI_ClearITPendingBit" declared implicitly
请问是哪个库文件没有添加进project中,导致EXTI中断没有定义吗? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询