STM32 定时器控制微秒延时
定时器控制微秒延时 void MX_TIM3_Init(void) { TIM_SlaveConfigTypeDef sSlaveConfig = {0}; TIM_MasterConfigTypeDef sMasterConfig = {0}; htim3.Instance = TIM3; htim3.Init.Prescaler = 16-1; htim3.Init.CounterMode = TIM_COUNTERMODE_UP; htim3.Init.Period = 10000; htim3.Init.ClockDivision = TIM_CLOCKDI
用户评论