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()93 if (top_value - current >= ticks) in mcux_tpm_set_alarm()96 ticks -= top_value - current; in mcux_tpm_set_alarm()
246 uint32_t top_value; in test_set_top_value_with_alarm_instance() local271 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() local320 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()
370 .top_value = 1000, \
203 * Added top_value setting configuration structure to API