fremoclock
1_3A01
FREMO Clock - Software for UTG
|
Hardware dependent timer module for Atmel AVR. More...
Go to the source code of this file.
Macros | |
#define | TIMER_RESOLUTION_MS 1 |
Resolution of this timer in milliseconds. More... | |
Functions | |
void | HwTimerInit (void) |
Initialize the hardware time. More... | |
uint32_t | HwTimerGetValue (void) |
Get the value of globalTimer variable guarded by disable/enable interrupts. More... | |
Hardware dependent timer module for Atmel AVR.
Supplies a tick count.
History:
Definition in file SysHwTimer.h.
#define TIMER_RESOLUTION_MS 1 |
Resolution of this timer in milliseconds.
Change to appropriate value.
Definition at line 49 of file SysHwTimer.h.
uint32_t HwTimerGetValue | ( | void | ) |
Get the value of globalTimer variable guarded by disable/enable interrupts.
Definition at line 210 of file SysHwTimer.c.
void HwTimerInit | ( | void | ) |
Initialize the hardware time.
Called from main before interrupts are enabled .
Definition at line 115 of file SysHwTimer.c.