VSF Documented
__vsf_task_common.h File Reference

Go to the source code of this file.

Macros

#define __vsf_pt_begin_common(__state)
 
#define __vsf_pt_raw_next_common(__state)
 
#define __vsf_pt_raw_entry_common(__state, ...)
 
#define __vsf_pt_entry_common(__state, ...)
 
#define __vsf_pt_end_common()
 
#define __vsf_pt_wait_cond_common(__state, ...)
 
#define __vsf_pt_wfe_common(__state, __evt)
 
#define __vsf_pt_func_common(__name)
 
#define __vsf_pt_common(__name)
 
#define __def_vsf_pt_common(__name, ...)
 
#define __declare_vsf_pt_common(__name)
 
#define __implement_vsf_pt_common(__name, __arg0)
 
#define __extern_vsf_pt_common(__name, __arg0)
 

Macro Definition Documentation

◆ __vsf_pt_begin_common

#define __vsf_pt_begin_common ( __state)
Value:
enum { \
count_offset = __COUNTER__ + 1, \
}; \
switch ((__state)) { \
case __COUNTER__ - count_offset:

◆ __vsf_pt_raw_next_common

#define __vsf_pt_raw_next_common ( __state)
Value:
(__state) = (__COUNTER__ - count_offset + 1) >> 1

◆ __vsf_pt_raw_entry_common

#define __vsf_pt_raw_entry_common ( __state,
... )
Value:
__VA_ARGS__; \
case (__COUNTER__ - count_offset) >> 1:

◆ __vsf_pt_entry_common

#define __vsf_pt_entry_common ( __state,
... )
Value:
__VA_ARGS__ \
)
#define __vsf_pt_raw_entry_common(__state,...)
Definition __vsf_task_common.h:42
#define __vsf_pt_raw_next_common(__state)
Definition __vsf_task_common.h:40

◆ __vsf_pt_end_common

#define __vsf_pt_end_common ( )
Value:
#define vsf_eda_return(...)
Definition vsf_eda.h:173

◆ __vsf_pt_wait_cond_common

#define __vsf_pt_wait_cond_common ( __state,
... )
Value:
do { \
evt = VSF_EVT_INVALID; \
__vsf_pt_entry_common(__state); \
if (!(__VA_ARGS__)) { \
return ; \
} \
} while (0)
@ VSF_EVT_INVALID
compatible with fsm_rt_err
Definition vsf_eda.h:596

◆ __vsf_pt_wfe_common

#define __vsf_pt_wfe_common ( __state,
__evt )
Value:
__vsf_pt_wait_cond_common(__state, (evt == __evt))
#define __vsf_pt_wait_cond_common(__state,...)
Definition __vsf_task_common.h:58

◆ __vsf_pt_func_common

#define __vsf_pt_func_common ( __name)
Value:
vsf_pt_func_##__name
#define __name
Definition hci_transport_aic8800.c:555

◆ __vsf_pt_common

#define __vsf_pt_common ( __name)
Value:
pt_cb_##__name

◆ __def_vsf_pt_common

#define __def_vsf_pt_common ( __name,
... )
Value:
struct __vsf_pt_common(__name) { \
__VA_ARGS__ \
}; \
struct __name { \
implement(vsf_pt_t) \
implement_ex(__vsf_pt_common(__name), param) \
};
#define __vsf_pt_common(__name)
Definition __vsf_task_common.h:72
Definition vsf_eda.h:837

◆ __declare_vsf_pt_common

#define __declare_vsf_pt_common ( __name)
Value:
typedef struct __name __name; \
typedef struct __vsf_pt_common(__name) __vsf_pt_common(__name);

◆ __implement_vsf_pt_common

#define __implement_vsf_pt_common ( __name,
__arg0 )
Value:
#define __vsf_pt_func_common(__name)
Definition __vsf_task_common.h:71
int16_t vsf_evt_t
Definition vsf_eda.h:654

◆ __extern_vsf_pt_common

#define __extern_vsf_pt_common ( __name,
__arg0 )
Value:
extern void __vsf_pt_func_common(__name)(__arg0, vsf_evt_t evt);
Generated from commit: vsfteam/vsf@ceb53fd