Searched refs:chctl (Results 1 – 1 of 1) sorted by relevance
112 volatile uint32_t *chctl; in pwm_gd32_set_cycles() local116 chctl = &TIMER_CHCTL0(config->reg); in pwm_gd32_set_cycles()118 chctl = &TIMER_CHCTL1(config->reg); in pwm_gd32_set_cycles()121 *chctl &= ~TIMER_CHCTLX_MSK(channel); in pwm_gd32_set_cycles()122 *chctl |= (TIMER_OC_MODE_PWM1 | TIMER_OC_SHADOW_ENABLE) << in pwm_gd32_set_cycles()