Lines Matching full:slice
45 XMC_CCU8_SLICE_t *slice; in pwm_xmc4xxx_ccu8_init() local
65 slice = (XMC_CCU8_SLICE_t *)SLICE_ADDR_FROM_MODULE(config->ccu8, i); in pwm_xmc4xxx_ccu8_init()
66 XMC_CCU8_SLICE_CompareInit(slice, &slice_conf); in pwm_xmc4xxx_ccu8_init()
81 XMC_CCU8_SLICE_DeadTimeInit(slice, &deadtime_conf); in pwm_xmc4xxx_ccu8_init()
92 XMC_CCU8_SLICE_t *slice; in pwm_xmc4xxx_ccu8_set_cycles() local
105 slice = (XMC_CCU8_SLICE_t *)SLICE_ADDR_FROM_MODULE(config->ccu8, slice_idx); in pwm_xmc4xxx_ccu8_set_cycles()
106 slice->PRS = period_cycles - 1; in pwm_xmc4xxx_ccu8_set_cycles()
109 slice->CR2S = period_cycles - pulse_cycles; in pwm_xmc4xxx_ccu8_set_cycles()
111 slice->CR1S = period_cycles - pulse_cycles; in pwm_xmc4xxx_ccu8_set_cycles()
113 slice->PSL = flags & PWM_POLARITY_INVERTED; in pwm_xmc4xxx_ccu8_set_cycles()
125 XMC_CCU8_SLICE_SetDeadTimeValue(slice, channel & 0x1, high_deadtime_value, in pwm_xmc4xxx_ccu8_set_cycles()
132 XMC_CCU8_SLICE_StartTimer(slice); in pwm_xmc4xxx_ccu8_set_cycles()