Home
last modified time | relevance | path

Searched refs:slice_prescaler (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_xmc4xxx_ccu8.c30 const uint8_t slice_prescaler[NUM_SLICES]; member
48 .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), \
Dpwm_xmc4xxx_ccu4.c27 const uint8_t slice_prescaler[NUM_SLICES]; member
41 .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)}; \