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
求大神指教啊
---------------------------------
这里面主要是数据的强制转换问题,如果明白了数据的类型,做起来就好了
一周热门 更多>