Searched refs:counter_size (Results 1 – 3 of 3) sorted by relevance
36 uint8_t counter_size; member53 static void wait_synchronization(Tc *regs, uint8_t counter_size) in wait_synchronization() argument55 if (COUNTER_8BITS == counter_size) { in wait_synchronization()83 uint8_t counter_size = cfg->counter_size; in pwm_sam0_set_cycles() local84 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 …]
25 uint8_t counter_size; member65 uint32_t top = 1 << cfg->counter_size; in pwm_sam0_set_cycles()160 .counter_size = DT_INST_PROP(inst, counter_size), \
164 * period_max = counter_size / cycles_per_second169 * counter_size = 2^16