Home
last modified time | relevance | path

Searched refs:timInitStruct (Results 1 – 1 of 1) sorted by relevance

/drivers/hdf_core/adapter/platform/pwm/
Dpwm_stm32f4xx.c60 LL_TIM_InitTypeDef timInitStruct; member
448 …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);