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中断没有定义吗? 展开
展开全部
你看一下stm32f10x_conf.h 中的#include "stm32f10x_exti.h" 有没有包含
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
意法半导体(中国)投资有限公司
2023-06-12 广告
2023-06-12 广告
STM32是一款广泛应用于消费类电子、汽车、工业和物联网领域的低功耗嵌入式系统芯片。ST公司推出了多个STM32系列,以满足不同应用需求。以下是ST公司主要的STM32系列:1. STM32WB系列:这是ST公司推出的第一款支持2.4GHz...
点击进入详情页
本回答由意法半导体(中国)投资有限公司提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询