SimAVR
AVR Simulator
|
Each timer instance contains the absolute cycle number they are hoping to run at, a function pointer to call and a parameter. More...
#include <sim_cycle_timers.h>
Data Fields | |
struct avr_cycle_timer_slot_t * | next |
avr_cycle_count_t | when |
avr_cycle_timer_t | timer |
void * | param |
Each timer instance contains the absolute cycle number they are hoping to run at, a function pointer to call and a parameter.
it will NEVER be the exact cycle specified, as each instruction is not divisible and might take 2 or more cycles anyway.
However if there was a LOT of cycle lag, the timer migth be called repeteadly until it 'caches up'.
struct avr_cycle_timer_slot_t* next |
void* param |
avr_cycle_timer_t timer |
avr_cycle_count_t when |