fremoclock
1_3A01
FREMO Clock - Software for UTG
Main Page
Related Pages
Data Structures
Files
File List
Globals
SysHwTimer.h
Go to the documentation of this file.
1
34
#ifndef SYS_HW_TIMER_
35
#define SYS_HW_TIMER_
36
37
#include <stdint.h>
// typedef uint32_t
38
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
42
43
/* HWTimer */
44
49
#define TIMER_RESOLUTION_MS 1
50
//TODO: make const uint32_t (see usage in Timer.c)
51
52
// for comment see SysHwTimer.c
53
void
HwTimerInit
(
void
);
54
55
// for comment see SysHwTimer.c
56
uint32_t
HwTimerGetValue
(
void
);
57
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
/* SYS_HW_TIMER_ */
HwTimerInit
void HwTimerInit(void)
Initialize the hardware time.
Definition:
SysHwTimer.c:115
HwTimerGetValue
uint32_t HwTimerGetValue(void)
Get the value of globalTimer variable guarded by disable/enable interrupts.
Definition:
SysHwTimer.c:210
80_Core
SysHwTimer.h
Generated on Sat Sep 3 2016 10:08:06 for fremoclock by
1.8.11