Searched refs:g_stTimMap (Results 1 – 1 of 1) sorted by relevance
78 static TIM_TypeDef* g_stTimMap[PWM_TIM_MAX] = { variable452 LL_TIM_Init(g_stTimMap[arg->pwmTim], &pwmCfg->timInitStruct);453 LL_TIM_EnableARRPreload(g_stTimMap[arg->pwmTim]);454 LL_TIM_SetClockSource(g_stTimMap[arg->pwmTim], LL_TIM_CLOCKSOURCE_INTERNAL);455 LL_TIM_SetTriggerOutput(g_stTimMap[arg->pwmTim], LL_TIM_TRGO_RESET);456 LL_TIM_DisableMasterSlaveMode(g_stTimMap[arg->pwmTim]);468 LL_TIM_OC_Init(g_stTimMap[arg->pwmTim], g_stChannelMap[arg->pwmCh], &pwmCfg->timOcInitStruct);469 LL_TIM_OC_DisableFast(g_stTimMap[arg->pwmTim], g_stChannelMap[arg->pwmCh]);480 LL_TIM_BDTR_Init(g_stTimMap[arg->pwmTim], &bdtrInitStruct);487 LL_TIM_EnableAutomaticOutput(g_stTimMap[arg->pwmTim]);[all …]