eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
IEvent.h
Go to the documentation of this file.
1
25#ifndef INCLUDE_EVENTS_IEVENT_H_
26#define INCLUDE_EVENTS_IEVENT_H_
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
33
37typedef struct _IEventSrc IEventSrc;
38
42typedef struct _IEvent IEvent;
43
48struct _IEvent {
53};
54
55
56// Public API declaration
57//***********************
58
66static inline sys_error_code_t IEventInit(IEvent *_this, const IEventSrc *pSource);
67
68// Inline functions definition
69// ***************************
70
73 _this->pSource = pSource;
74
75 return SYS_NO_ERROR_CODE;
76}
77
78#ifdef __cplusplus
79}
80#endif
81
82#endif /* INCLUDE_EVENTS_IEVENT_H_ */
static sys_error_code_t IEventInit(IEvent *_this, const IEventSrc *pSource)
Definition IEvent.h:72
Umbrella header for the basic system features.
Definition IEvent.h:48
const IEventSrc * pSource
Definition IEvent.h:52
Definition IEventSrc_vtbl.h:49
uint16_t sys_error_code_t
Definition syserror.h:41
#define SYS_DEFINE_STATIC_INLINE
Definition systp.h:95