在系统定时器初始化时下面的代码为什么会出现这样的错误?
void SysTick_Init(void)
{
SysTick_CounterCmd(Sysick_Counter_Disable);
SysTick_ITConfig(DISABLE);
SysTick_CLKSourceConfig(SysTick_CLKSource_HCLK_Di8v);
SysTick_SetReload(9000);
SysTick_ITConfig(ENABLE);
}
..\..\User\SysTick\bsp_SysTick.c(30): error: #20: identifier "Sysick_Counter_Disable" is undefined
..\..\User\SysTick\bsp_SysTick.c(32): error: #20: identifier "SysTick_CLKSource_HCLK_Di8v" is undefined
还是说有头文件没有包含或不能这样初始化?
求大神指教 |