Revision 7de0cc90 core/inc/aos_timer.h
core/inc/aos_timer.h | ||
---|---|---|
123 | 123 |
/* EXTERN DECLARATIONS */ |
124 | 124 |
/******************************************************************************/ |
125 | 125 |
|
126 |
#ifdef __cplusplus
|
|
126 |
#if defined(__cplusplus)
|
|
127 | 127 |
extern "C" { |
128 |
#endif |
|
128 |
#endif /* defined(__cplusplus) */
|
|
129 | 129 |
void aosTimerInit(aos_timer_t* timer); |
130 | 130 |
void aosTimerSetAbsoluteI(aos_timer_t* timer, aos_timestamp_t* uptime, vtfunc_t cb, void* par); |
131 | 131 |
void aosTimerSetIntervalI(aos_timer_t* timer, aos_interval_t offset, vtfunc_t cb, void* par); |
... | ... | |
133 | 133 |
void aosPeriodicTimerInit(aos_periodictimer_t* ptimer); |
134 | 134 |
void aosPeriodicTimerSetI(aos_periodictimer_t* ptimer, aos_interval_t interval, vtfunc_t cb, void* par); |
135 | 135 |
void aosPeriodicTimerSetLongI(aos_periodictimer_t* ptimer, aos_longinterval_t* interval, vtfunc_t cb, void* par); |
136 |
#ifdef __cplusplus
|
|
136 |
#if defined(__cplusplus)
|
|
137 | 137 |
} |
138 |
#endif |
|
138 |
#endif /* defined(__cplusplus) */
|
|
139 | 139 |
|
140 | 140 |
/******************************************************************************/ |
141 | 141 |
/* INLINE FUNCTIONS */ |
Also available in: Unified diff