ChibiOS/RT
6.1.4
|
Time and Virtual Timers module code. More...
#include "ch.h"
Go to the source code of this file.
Functions | |
static void | vt_init (delta_list_t *dlhp) |
Delta list initialization. More... | |
static bool | vt_is_empty (delta_list_t *dlhp) |
List empty check. More... | |
static bool | vt_is_last (delta_list_t *dlhp, delta_list_t *dlp) |
Last timer in the list check. More... | |
static bool | vt_is_first (delta_list_t *dlhp, delta_list_t *dlp) |
Fist timer in the list check. More... | |
static bool | vt_is_timer (delta_list_t *dlhp, delta_list_t *dlp) |
Timer check. More... | |
static void | vt_insert_after (delta_list_t *dlhp, delta_list_t *dlp, sysinterval_t delta) |
Inserts an element after another header element. More... | |
static void | vt_insert_before (delta_list_t *dlhp, delta_list_t *dlp, sysinterval_t delta) |
Inserts an element before another header element. More... | |
static void | vt_insert (delta_list_t *dlhp, delta_list_t *dlep, sysinterval_t delta) |
Inserts an element in a delta list. More... | |
static delta_list_t * | vt_remove_first (delta_list_t *dlhp) |
Dequeues an element from the delta list. More... | |
static delta_list_t * | vt_dequeue (delta_list_t *dlp) |
Dequeues an element from the delta list. More... | |
static void | vt_set_alarm (systime_t now, sysinterval_t delay) |
Alarm time setup. More... | |
static void | vt_insert_first (virtual_timers_list_t *vtlp, virtual_timer_t *vtp, systime_t now, sysinterval_t delay) |
Inserts a timer as first element in a delta list. More... | |
static void | vt_enqueue (virtual_timers_list_t *vtlp, virtual_timer_t *vtp, sysinterval_t delay) |
Enqueues a virtual timer in a virtual timers list. More... | |
void | _vt_init (void) |
Virtual Timers initialization. More... | |
void | chVTDoSetI (virtual_timer_t *vtp, sysinterval_t delay, vtfunc_t vtfunc, void *par) |
Enables a one-shot virtual timer. More... | |
void | chVTDoResetI (virtual_timer_t *vtp) |
Disables a Virtual Timer. More... | |
sysinterval_t | chVTGetRemainingIntervalI (virtual_timer_t *vtp) |
Returns the remaining time interval before next timer trigger. More... | |
void | chVTDoTickI (void) |
Virtual timers ticker. More... | |
Time and Virtual Timers module code.
Definition in file chvt.c.