Revision f3ac1c96 core/inc/aos_timer.h

View differences:

core/inc/aos_timer.h
29 29

  
30 30
#include <ch.h>
31 31
#include <aos_time.h>
32
/******************************************************************************/
33
/* CONSTANTS                                                                  */
34
/******************************************************************************/
32 35

  
33 36
/**
34 37
 * @brief   Maximum timer interval that can be set in system ticks.
......
50 53
 */
51 54
#define AOS_TIMER_MAX_INTERVAL_US     (chTimeI2US(AOS_TIMER_MAX_INTERVAL_ST) - 1)
52 55

  
56
/******************************************************************************/
57
/* SETTINGS                                                                   */
58
/******************************************************************************/
59

  
60
/******************************************************************************/
61
/* CHECKS                                                                     */
62
/******************************************************************************/
63

  
64
/******************************************************************************/
65
/* DATA STRUCTURES AND TYPES                                                  */
66
/******************************************************************************/
67

  
53 68
/**
54 69
 * @brief   Timer stucture.
55 70
 */
......
100 115
  void* cbparam;
101 116
} aos_periodictimer_t;
102 117

  
118
/******************************************************************************/
119
/* MACROS                                                                     */
120
/******************************************************************************/
121

  
122
/******************************************************************************/
123
/* EXTERN DECLARATIONS                                                        */
124
/******************************************************************************/
125

  
103 126
#ifdef __cplusplus
104 127
extern "C" {
105 128
#endif
......
114 137
}
115 138
#endif
116 139

  
140
/******************************************************************************/
141
/* INLINE FUNCTIONS                                                           */
142
/******************************************************************************/
143

  
117 144
/**
118 145
 * @brief   Set timer to fire at an absolute system time.
119 146
 *

Also available in: Unified diff