ChibiOS/RT  5.1.0
ch_virtual_timers_list Struct Reference

Virtual timers list header. More...

#include <chschd.h>

Inheritance diagram for ch_virtual_timers_list:
Inheritance graph
Collaboration diagram for ch_virtual_timers_list:
Collaboration graph

Data Fields

virtual_timer_tnext
 Next timer in the delta list. More...
 
virtual_timer_tprev
 Last timer in the delta list. More...
 
sysinterval_t delta
 Must be initialized to -1. More...
 
volatile systime_t systime
 System Time counter. More...
 
systime_t lasttime
 System time of the last tick event. More...
 

Detailed Description

Virtual timers list header.

Note
The timers list is implemented as a double link bidirectional list in order to make the unlink time constant, the reset of a virtual timer is often used in the code.

Definition at line 340 of file chschd.h.

Field Documentation

virtual_timer_t* ch_virtual_timers_list::next

Next timer in the delta list.

Definition at line 341 of file chschd.h.

Referenced by _vt_init(), chSysIntegrityCheckI(), chVTDoResetI(), chVTDoSetI(), chVTDoTickI(), and chVTGetTimersStateI().

virtual_timer_t* ch_virtual_timers_list::prev

Last timer in the delta list.

Definition at line 343 of file chschd.h.

Referenced by _vt_init(), chSysIntegrityCheckI(), and chVTDoSetI().

sysinterval_t ch_virtual_timers_list::delta

Must be initialized to -1.

Definition at line 345 of file chschd.h.

Referenced by _vt_init(), chVTDoResetI(), and chVTDoSetI().

volatile systime_t ch_virtual_timers_list::systime

System Time counter.

Definition at line 347 of file chschd.h.

Referenced by _vt_init(), chVTDoTickI(), and chVTGetSystemTimeX().

systime_t ch_virtual_timers_list::lasttime

System time of the last tick event.

System time of the last tick event.

Definition at line 353 of file chschd.h.

Referenced by _vt_init(), chVTDoResetI(), chVTDoSetI(), chVTDoTickI(), and chVTGetTimersStateI().