75 #define RKH_EVT_CAST(_e) ((RKH_EVT_T *)(_e))
77 #define RKH_CAST_EVT(e) ((RKH_EVT_T *)(e))
79 #if RKH_CFG_FWK_DYN_EVT_EN == RKH_ENABLED
80 #define RKH_INC_REF(evt) \
81 if (RKH_CAST_EVT(evt)->pool != 0) \
83 ++RKH_CAST_EVT(evt)->nref; \
86 #define RKH_INC_REF(evt) \
97 #if RKH_CFG_FWK_SIZEOF_EVT == 8
99 #elif RKH_CFG_FWK_SIZEOF_EVT == 16
101 #elif RKH_CFG_FWK_SIZEOF_EVT == 32
113 #if RKH_CFG_FWK_SIZEOF_EVT_SIZE == 8
115 #elif RKH_CFG_FWK_SIZEOF_EVT_SIZE == 16
117 #elif RKH_CFG_FWK_SIZEOF_EVT_SIZE == 32
RKH_SIG_T e
Signal of the event instance.
rui8_t pool
Attribute of dynamic events (0 for static event).
Represents events without parameters.
rui8_t nref
Attribute of dynamic events.
Defines the data types that uses RKH.