#include "main.h"
#include "timer.h"
Go to the source code of this file.
|
static unsigned long int | time = 0 |
|
void __attribute__ |
( |
(__interrupt__, no_auto_psv) |
| ) |
|
Timer4 interrupt.
Executed every ms
Definition at line 49 of file timer.c.
long unsigned int getTime |
( |
| ) |
|
Get current time in ms.
- Returns
- ms
Definition at line 54 of file timer.c.
Initializes Timer2.
Its used as a 16-bit timer
Definition at line 16 of file timer.c.
Initializes Timer4 as a 1ms, 16-bit timer.
Initializes Timer4.
Definition at line 33 of file timer.c.
unsigned long int time = 0 |
|
static |