SimAVR
AVR Simulator
avr_cycle_timer_slot_t Struct Reference

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>

Collaboration diagram for avr_cycle_timer_slot_t:

Data Fields

struct avr_cycle_timer_slot_tnext
 
avr_cycle_count_t when
 
avr_cycle_timer_t timer
 
void * param
 

Detailed Description

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'.

Field Documentation

struct avr_cycle_timer_slot_t* next
void* param

The documentation for this struct was generated from the following file: