Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_xmc4xxx_ccu4.c20 #define NUM_SLICES 4 macro
21 #define NUM_CHANNELS NUM_SLICES
27 const uint8_t slice_prescaler[NUM_SLICES];
38 for (int i = 0; i < NUM_SLICES; i++) { in pwm_xmc4xxx_ccu4_init()
87 if (channel >= NUM_SLICES) { in pwm_xmc4xxx_ccu4_get_cycles_per_sec()
Dpwm_xmc4xxx_ccu8.c20 #define NUM_SLICES 4 macro
21 #define NUM_CHANNELS (NUM_SLICES * 2)
30 const uint8_t slice_prescaler[NUM_SLICES];
31 const uint8_t slice_deadtime_prescaler[NUM_SLICES];
44 for (int i = 0; i < NUM_SLICES; i++) { in pwm_xmc4xxx_ccu8_init()