Home
last modified time | relevance | path

Searched refs:counter_size (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/pwm/
Dpwm_sam0_tc.c36 uint8_t counter_size; member
53 static void wait_synchronization(Tc *regs, uint8_t counter_size) in wait_synchronization() argument
55 if (COUNTER_8BITS == counter_size) { in wait_synchronization()
83 uint8_t counter_size = cfg->counter_size; in pwm_sam0_set_cycles() local
84 uint32_t top = 1 << counter_size; in pwm_sam0_set_cycles()
100 if (COUNTER_8BITS == counter_size) { in pwm_sam0_set_cycles()
104 wait_synchronization(regs, counter_size); in pwm_sam0_set_cycles()
108 wait_synchronization(regs, counter_size); in pwm_sam0_set_cycles()
112 wait_synchronization(regs, counter_size); in pwm_sam0_set_cycles()
118 wait_synchronization(regs, counter_size); in pwm_sam0_set_cycles()
[all …]
Dpwm_sam0_tcc.c25 uint8_t counter_size; member
65 uint32_t top = 1 << cfg->counter_size; in pwm_sam0_set_cycles()
160 .counter_size = DT_INST_PROP(inst, counter_size), \
/Zephyr-latest/boards/seagate/legend/
Dlegend.dts164 * period_max = counter_size / cycles_per_second
169 * counter_size = 2^16