STM32 systick配置 基于stm32cube
1.stm32cube如何配置sysytick(1)(2)配置时钟源72MHz(3)生成的代码如下默认配置是1ms产生一次中断。__weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority){ /* Configure the SysTick to have interrupt in 1ms time basis*/ if (HAL_SYSTICK_Config(SystemCoreClock / (1...
原创
2020-07-09 11:49:40 ·
1769 阅读 ·
0 评论