摘要: 配置定时器,定时0.1ms: SetTime =(TIM_Prescaler+1)* (TIM_Period+1)/FLK ; 打开全局中断。 生成程序后,用户程序启动定时器 HAL_TIM_Base_Start_IT(&htim4); 用户程序停止定时器: HAL_TIM_Base_Stop_IT 阅读全文
posted @ 2021-06-29 15:39 fan230 阅读(434) 评论(0) 推荐(0) 编辑