ADC定时采样,找不到头文件,但是我已经添加进去了

2019-08-16 19:18发布

Build target 'Target 1'
compiling timer.c...
..HARDWARETIMER imer.c(23): error:  #20: identifier "TIM_TimeBaseInitTypeDef" is undefined
..HARDWARETIMER imer.c(31): error:  #20: identifier "TIM_CKD_DIV1" is undefined
..HARDWARETIMER imer.c(32): error:  #20: identifier "TIM_CounterMode_Up" is undefined
..HARDWARETIMER imer.c(33): warning:  #223-D: function "TIM_TimeBaseInit" declared implicitly
..HARDWARETIMER imer.c(35): warning:  #223-D: function "TIM_ITConfig" declared implicitly
..HARDWARETIMER imer.c(35): error:  #20: identifier "TIM_IT_Update" is undefined
..HARDWARETIMER imer.c(45): warning:  #223-D: function "TIM_Cmd" declared implicitly
..HARDWARETIMER imer.c(50): warning:  #223-D: function "TIM_GetITStatus" declared implicitly
..HARDWARETIMER imer.c(50): error:  #20: identifier "TIM_IT_Update" is undefined
..HARDWARETIMER imer.c(52): warning:  #223-D: function "TIM_ClearITPendingBit" declared implicitly
Target not created


求大神指教啊

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。