摘要: problem: 如果想用计时器定时微秒级,不要使能自动重载:代码如下: static uint16_t counter; void Delay_us(uint32_t us){ counter=0xffff-us-5; __HAL_TIM_SetCounter(&htim14,counter); 阅读全文
posted @ 2020-01-18 18:07 ChenXianRen 阅读(912) 评论(0) 推荐(0)