QuickIO  0.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
periodic.h
Go to the documentation of this file.
1 
12 #pragma once
13 #include "quickio.h"
14 
18 #define PERIODIC_INTERVAL 10
19 
23 #define PERIODIC_INTERVAL_USEC QEV_SEC_TO_USEC(PERIODIC_INTERVAL)
24 
28 void periodic_run();
29 
33 void periodic_init();
void periodic_init()
Initialize the periodic task runner.
Every header, definition, and whatnot QuickIO needs to run.
void periodic_run()
Run periodic tasks immediately.