Commit ff9eaa958e037ffde296f977ace1b90930154fc2
1 parent
b0c12c0a
--no commit message
Showing
1 changed file
with
14 additions
and
0 deletions
Project/applications/smartcities/include/timer-loop.h
0 → 100644
1 | +#include "libwismart.h" | |
2 | +#include "libwismart_irqs.h" | |
3 | +#include "lwip/inet.h" | |
4 | + | |
5 | +#define HALF_HOUR 60*3 | |
6 | +#define FIVE_MIN 60*1 | |
7 | +#define LONG_PERIOD HALF_HOUR | |
8 | +#define SHORT_PERIOD FIVE_MIN | |
9 | + | |
10 | +unsigned int getSystemTime(); | |
11 | + | |
12 | +unsigned int getElapsedTime(unsigned int t); | |
13 | + | |
14 | +void sleep_thread(unsigned int seconds); | |
0 | 15 | \ No newline at end of file | ... | ... |