ODeV framework  v2
sysevent.h
Go to the documentation of this file.
1 
31 #ifndef SYSEVENT_H_
32 #define SYSEVENT_H_
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 #include "systypes.h"
39 
40 
44 typedef union _SysEvent {
48  struct Event {
52  uint32_t nSource: 3;
53 
57  uint32_t nParam: 5;
58 
62  uint32_t reserved: 23;
63 
67  uint32_t nEventType: 1;
68 
69  }xEvent;
70 
74  uint32_t nRawEvent;
75 } SysEvent;
76 
77 // Public API declaration
78 //***********************
79 
80 
81 // Inline functions definition
82 // ***************************
83 
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif /* SYSEVENT_H_ */
Definition: sysevent.h:44
uint32_t nEventType
Definition: sysevent.h:67
uint32_t reserved
Definition: sysevent.h:62
uint32_t nRawEvent
Definition: sysevent.h:74
uint32_t nParam
Definition: sysevent.h:57
uint32_t nSource
Definition: sysevent.h:52
Common type declaration.
Definition: sysevent.h:48
union _SysEvent SysEvent