Home
last modified time | relevance | path

Searched refs:top_value (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/drivers/counter/
Dcounter_gecko_rtcc.c155 uint32_t top_value = counter_gecko_get_top_value(dev); in counter_gecko_set_alarm() local
158 if ((top_value != 0) && (alarm_cfg->ticks > top_value)) { in counter_gecko_set_alarm()
168 if (top_value == 0) { in counter_gecko_set_alarm()
173 ccv = (uint32_t)(ccv64 % top_value); in counter_gecko_set_alarm()
Dcounter_sam_tc.c139 uint32_t top_value; in counter_sam_tc_set_alarm() local
144 top_value = tc_ch->TC_RC; in counter_sam_tc_set_alarm()
146 if ((top_value != 0) && (alarm_cfg->ticks > top_value)) { in counter_sam_tc_set_alarm()
151 if ((top_value == 0) && (alarm_cfg->ticks > UINT16_MAX)) { in counter_sam_tc_set_alarm()
173 if (top_value != 0) { in counter_sam_tc_set_alarm()
174 alarm_value %= top_value; in counter_sam_tc_set_alarm()
Dcounter_mcux_tpm.c80 uint32_t top_value = base->MOD; in mcux_tpm_set_alarm() local
89 if (ticks > (top_value)) in mcux_tpm_set_alarm()
93 if (top_value - current >= ticks) in mcux_tpm_set_alarm()
96 ticks -= top_value - current; in mcux_tpm_set_alarm()
/Zephyr-Core-3.7.0/tests/drivers/counter/counter_basic_api/src/
Dtest_counter.c246 uint32_t top_value; in test_set_top_value_with_alarm_instance() local
271 top_value = counter_get_top_value(dev); in test_set_top_value_with_alarm_instance()
272 err = (cnt < top_value) ? 0 : 1; in test_set_top_value_with_alarm_instance()
299 uint32_t top_value; in test_set_top_value_without_alarm_instance() local
320 top_value = counter_get_top_value(dev); in test_set_top_value_without_alarm_instance()
321 err = (cnt < top_value) ? 0 : 1; in test_set_top_value_without_alarm_instance()
/Zephyr-Core-3.7.0/drivers/pwm/
Dpwm_nrfx.c370 .top_value = 1000, \
/Zephyr-Core-3.7.0/doc/releases/
Drelease-notes-2.0.rst203 * Added top_value setting configuration structure to API