Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/counter/
Dcounter_native_posix.c25 static struct counter_alarm_cfg pending_alarm[DRIVER_CONFIG_INFO_CHANNELS]; variable
42 if (pending_alarm[i].ticks > current_value) { in schedule_next_isr()
44 next_time = MIN(pending_alarm[i].ticks, next_time); in schedule_next_isr()
61 if (is_alarm_pending[i] && (current_value == pending_alarm[i].ticks)) { in counter_isr()
63 if (pending_alarm[i].callback) { in counter_isr()
64 pending_alarm[i].callback(device, i, current_value, in counter_isr()
65 pending_alarm[i].user_data); in counter_isr()
205 pending_alarm[chan_id] = *alarm_cfg; in ctr_set_alarm()
206 pending_alarm[chan_id].ticks = ticks; in ctr_set_alarm()