Searched refs:oc_init (Results 1 – 1 of 1) sorted by relevance
388 LL_TIM_OC_InitTypeDef oc_init; in pwm_stm32_set_cycles() local390 LL_TIM_OC_StructInit(&oc_init); in pwm_stm32_set_cycles()392 oc_init.OCMode = LL_TIM_OCMODE_PWM1; in pwm_stm32_set_cycles()397 oc_init.OCNState = LL_TIM_OCSTATE_ENABLE; in pwm_stm32_set_cycles()398 oc_init.OCNPolarity = get_polarity(flags); in pwm_stm32_set_cycles()401 oc_init.OCState = LL_TIM_CC_IsEnabledChannel(cfg->timer, ll_channel) in pwm_stm32_set_cycles()404 oc_init.OCPolarity = LL_TIM_OC_GetPolarity(cfg->timer, ll_channel); in pwm_stm32_set_cycles()406 oc_init.OCState = LL_TIM_OCSTATE_ENABLE; in pwm_stm32_set_cycles()407 oc_init.OCPolarity = get_polarity(flags); in pwm_stm32_set_cycles()411 oc_init.OCNState = in pwm_stm32_set_cycles()[all …]