Searched refs:timOcInitStruct (Results 1 – 1 of 1) sorted by relevance
61 LL_TIM_OC_InitTypeDef timOcInitStruct; member458 pwmCfg->timOcInitStruct.OCMode = LL_TIM_OCMODE_PWM1; // PWM1 mode459 pwmCfg->timOcInitStruct.OCState = LL_TIM_OCSTATE_DISABLE;460 pwmCfg->timOcInitStruct.CompareValue = arg->duty;462 pwmCfg->timOcInitStruct.OCPolarity = LL_TIM_OCPOLARITY_HIGH;464 pwmCfg->timOcInitStruct.OCPolarity = LL_TIM_OCPOLARITY_LOW;466 pwmCfg->timOcInitStruct.OCIdleState = LL_TIM_OCPOLARITY_LOW;468 LL_TIM_OC_Init(g_stTimMap[arg->pwmTim], g_stChannelMap[arg->pwmCh], &pwmCfg->timOcInitStruct);