Searched refs:top_value (Results 1 – 5 of 5) 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()
228 uint32_t top_value; in test_set_top_value_with_alarm_instance() local253 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() local302 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()
356 .top_value = 1000, \
203 * Added top_value setting configuration structure to API