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