Searched refs:last_load (Results 1 – 2 of 2) sorted by relevance
34 static uint32_t last_load; variable105 overflow_cyc += last_load; in elapsed()112 return (last_load - val2) + overflow_cyc; in elapsed()157 last_load = CYC_PER_TICK - 1; in sys_clock_driver_init()159 SysTick->LOAD = last_load; in sys_clock_driver_init()177 last_load = TIMER_STOPPED; in sys_clock_set_timeout()184 uint32_t last_load_ = last_load; in sys_clock_set_timeout()207 last_load = MIN_DELAY; in sys_clock_set_timeout()219 last_load = MAX_CYCLES; in sys_clock_set_timeout()221 last_load = delay; in sys_clock_set_timeout()[all …]
65 static uint32_t last_load; variable193 overflow_cycles += last_load; in elapsed()295 last_load = CYC_PER_TICK; in sys_clock_driver_init()302 timer0_limit_register_set(last_load - 1); in sys_clock_driver_init()360 last_load = TIMER_STOPPED; in sys_clock_set_timeout()392 last_load = MIN_DELAY; in sys_clock_set_timeout()405 last_load = MIN(delay, MAX_CYCLES); in sys_clock_set_timeout()408 timer0_limit_register_set(last_load - 1); in sys_clock_set_timeout()