Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.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()
/Zephyr-Core-3.6.0/tests/drivers/counter/counter_basic_api/src/
Dtest_counter.c228 uint32_t top_value; in test_set_top_value_with_alarm_instance() local
253 top_value = counter_get_top_value(dev); in test_set_top_value_with_alarm_instance()
254 err = (cnt < top_value) ? 0 : 1; in test_set_top_value_with_alarm_instance()
281 uint32_t top_value; in test_set_top_value_without_alarm_instance() local
302 top_value = counter_get_top_value(dev); in test_set_top_value_without_alarm_instance()
303 err = (cnt < top_value) ? 0 : 1; in test_set_top_value_without_alarm_instance()
/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_nrfx.c356 .top_value = 1000, \
/Zephyr-Core-3.6.0/doc/releases/
Drelease-notes-2.0.rst203 * Added top_value setting configuration structure to API