EM-ODP
3.7.0
Event Machine on ODP
|
Go to the source code of this file.
Macros | |
#define | PRI_TMR PRI_HDL |
#define | EM_TIMER_FLAG_DEFAULT EM_TIMER_FLAG_NONE |
#define | PRI_TMO "p" |
#define | EM_TMO_FLAG_DEFAULT EM_TMO_FLAG_ONESHOT |
#define | EM_TIMER_CLKSRC_DEFAULT EM_TIMER_CLKSRC_0 |
#define | EM_TIMER_CLKSRC_CPU EM_TIMER_CLKSRC_0 |
#define | EM_TIMER_CLKSRC_EXT EM_TIMER_CLKSRC_2 |
#define | EM_TIMER_UNDEF EM_STATIC_CAST(em_timer_t, EM_HDL_UNDEF) |
#define | EM_TMO_UNDEF EM_STATIC_CAST(em_tmo_t, EM_UNDEF_PTR) |
#define | EM_TIMER_NAME_LEN 16 |
Typedefs | |
typedef enum em_timer_flag_t | em_timer_flag_t |
typedef struct em_timer_timeout_t * | em_tmo_t |
typedef enum em_tmo_flag_t | em_tmo_flag_t |
typedef enum em_timer_clksrc_t | em_timer_clksrc_t |
Enumerations | |
enum | em_timer_flag_t { EM_TIMER_FLAG_NONE = 0, EM_TIMER_FLAG_PRIVATE = 1, EM_TIMER_FLAG_RING = 2 } |
enum | em_tmo_flag_t { EM_TMO_FLAG_ONESHOT = 1, EM_TMO_FLAG_PERIODIC = 2, EM_TMO_FLAG_NOSKIP = 4 } |
enum | em_timer_clksrc_t { EM_TIMER_CLKSRC_0, EM_TIMER_CLKSRC_1, EM_TIMER_CLKSRC_2, EM_TIMER_CLKSRC_3, EM_TIMER_CLKSRC_4, EM_TIMER_CLKSRC_5, EM_TIMER_NUM_CLKSRC } |
Functions | |
EM_HANDLE_T (em_timer_t) | |
EM ODP specific timer definitions
Definition in file event_machine_timer_hw_specific.h.
#define EM_TIMER_CLKSRC_CPU EM_TIMER_CLKSRC_0 |
Backwards compatible macro.
Definition at line 111 of file event_machine_timer_hw_specific.h.
#define EM_TIMER_CLKSRC_DEFAULT EM_TIMER_CLKSRC_0 |
portable default clock
Definition at line 106 of file event_machine_timer_hw_specific.h.
#define EM_TIMER_CLKSRC_EXT EM_TIMER_CLKSRC_2 |
Backwards compatible macro.
Definition at line 115 of file event_machine_timer_hw_specific.h.
#define EM_TIMER_UNDEF EM_STATIC_CAST(em_timer_t, EM_HDL_UNDEF) |
EM_TIMER_UNDEF value must be defined here and should normally be 0
Definition at line 120 of file event_machine_timer_hw_specific.h.
#define EM_TMO_FLAG_DEFAULT EM_TMO_FLAG_ONESHOT |
default timeout is oneshot
Definition at line 86 of file event_machine_timer_hw_specific.h.
#define EM_TMO_UNDEF EM_STATIC_CAST(em_tmo_t, EM_UNDEF_PTR) |
EM_TMO_UNDEF value must be defined here and should normally be 0
Definition at line 125 of file event_machine_timer_hw_specific.h.
#define PRI_TMO "p" |
em_tmo_t printf format
Definition at line 72 of file event_machine_timer_hw_specific.h.
#define PRI_TMR PRI_HDL |
em_timer_t printf format
Definition at line 49 of file event_machine_timer_hw_specific.h.
EM_HANDLE_T | ( | em_timer_t | ) |
em_timer_t (timer handle) needs to be defined by the EM implementation.