Searched refs:timInitStruct (Results 1 – 1 of 1) sorted by relevance
60 LL_TIM_InitTypeDef timInitStruct; member448 …pwmCfg->timInitStruct.Autoreload = arg->period - 1; // if period is 1000 20KHz/1000=20Hz,period is…449 pwmCfg->timInitStruct.ClockDivision = LL_TIM_CLOCKDIVISION_DIV1;450 pwmCfg->timInitStruct.CounterMode = LL_TIM_COUNTERMODE_UP;451 pwmCfg->timInitStruct.Prescaler = resource->prescaler;452 LL_TIM_Init(g_stTimMap[arg->pwmTim], &pwmCfg->timInitStruct);