Searched refs:top_value (Results 1 – 6 of 6) sorted by relevance
155 uint32_t top_value = counter_gecko_get_top_value(dev); in counter_gecko_set_alarm() local158 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()
139 uint32_t top_value; in counter_sam_tc_set_alarm() local144 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()
80 uint32_t top_value = base->MOD; in mcux_tpm_set_alarm() local89 if (ticks > (top_value)) { in mcux_tpm_set_alarm()94 if (top_value - current >= ticks) { in mcux_tpm_set_alarm()97 ticks -= top_value - current; in mcux_tpm_set_alarm()
259 uint32_t top_value; in test_set_top_value_with_alarm_instance() local284 top_value = counter_get_top_value(dev); in test_set_top_value_with_alarm_instance()285 err = (cnt < top_value) ? 0 : 1; in test_set_top_value_with_alarm_instance()312 uint32_t top_value; in test_set_top_value_without_alarm_instance() local333 top_value = counter_get_top_value(dev); in test_set_top_value_without_alarm_instance()334 err = (cnt < top_value) ? 0 : 1; in test_set_top_value_without_alarm_instance()
384 .top_value = 1000, \
203 * Added top_value setting configuration structure to API