STM32 SysTick 系统时钟滴答寄存器编程要点
SysTick定时器被捆绑在NVIC中,用于产生SYSTICK异常(异常号:15)。SysTick 寄存器寄存器 描述:CTRL SysTick 控制和状态寄存器LOAD SysTick 重装载值寄存器VAL SysTick 当前值寄存器CALIB SysTick 校准值寄存器#include "bsp_SysTick.h"unsigned int TimingDelay;void SysTick_Configuration(void){ while(SysTick_Config(
原创
2020-08-09 21:42:37 ·
521 阅读 ·
0 评论