Searched refs:slice_prescaler (Results 1 – 2 of 2) sorted by relevance
30 const uint8_t slice_prescaler[NUM_SLICES]; member48 .prescaler_initval = config->slice_prescaler[i], in pwm_xmc4xxx_ccu8_init()53 if (config->slice_prescaler[i] > MAX_SLICE_PRESCALER) { in pwm_xmc4xxx_ccu8_init()55 config->slice_prescaler[i]); in pwm_xmc4xxx_ccu8_init()116 cycles = XMC_SCU_CLOCK_GetCcuClockFrequency() >> config->slice_prescaler[slice_idx]; in pwm_xmc4xxx_ccu8_set_cycles()146 *cycles = XMC_SCU_CLOCK_GetCcuClockFrequency() >> config->slice_prescaler[channel / 2]; in pwm_xmc4xxx_ccu8_get_cycles_per_sec()162 .slice_prescaler = DT_INST_PROP(n, slice_prescaler), \
27 const uint8_t slice_prescaler[NUM_SLICES]; member41 .prescaler_initval = config->slice_prescaler[i] in pwm_xmc4xxx_ccu4_init()91 *cycles = XMC_SCU_CLOCK_GetCcuClockFrequency() >> config->slice_prescaler[slice_idx]; in pwm_xmc4xxx_ccu4_get_cycles_per_sec()107 .slice_prescaler = DT_INST_PROP(n, slice_prescaler)}; \