RKH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Traces of miscellaneous framework

Macros for tracing the framework execution. More...

Macros

#define RKH_TR_FWK_EN()
 Initializes the RKH framework. More...
 
#define RKH_TR_FWK_EX()
 Exit the RKH framework. More...
 
#define RKH_TR_FWK_EPREG(evtPool_, storageSize_, evtSize_)
 Registers a new event pool into the event pool list. More...
 
#define RKH_TR_FWK_AE(evtSize_, evt_, poolID_, refCnt_)
 Allocates an event from the previously created event pool. More...
 
#define RKH_TR_FWK_GC(evt_, poolID_, refCnt_)
 Attempt to recycle an event. More...
 
#define RKH_TR_FWK_GCR(evt_, poolID_, refCnt_)
 Effective recycling event. More...
 
#define RKH_TR_FWK_DEFER(queue_, evt_)
 Defer an event to a given separate event queue. More...
 
#define RKH_TR_FWK_RCALL(actObj_, evt_)
 Recall a deferred event from a given event queue. More...
 
#define RKH_TR_FWK_OBJ(obj_)
 Entry symbol table for memory object. More...
 
#define RKH_TR_FWK_OBJ_NAME(obj_, name_)
 Entry symbol table for memory object. Very similar to RKH_TR_FWK_OBJ() but the name of object must be explicitely defined. More...
 
#define RKH_TR_FWK_SIG(stateObj_)
 Entry symbol table for event signal. More...
 
#define RKH_TR_FWK_FUN(function_)
 Entry symbol table for function object. More...
 
#define RKH_TR_FWK_EXE_FUN(function_)
 The function was executed. More...
 
#define RKH_TR_FWK_SYNC_EVT(function_, senderObj_, receiverObj_)
 The function was synchronously executed. It is not explicitely used by the RKH, instead it's frequently placed on application source code. More...
 
#define RKH_TR_FWK_TUSR(__e)
 Entry symbol table for user-defined trace events. More...
 
#define RKH_TR_FWK_TCFG(timeStamp_)
 Send trace configuration to Trazer. More...
 
#define RKH_TR_FWK_ASSERT(mod_, ln_)
 Assertion expression was evaluated to false. More...
 
#define RKH_TR_FWK_AO(actObj_)
 Entry symbol table for active object. More...
 
#define RKH_TR_FWK_STATE(actObj_, stateObj_)
 Entry symbol table for state object. More...
 
#define RKH_TR_FWK_PSTATE(actObj_, pseudoStObj_)
 Entry symbol table for pseudostate object. More...
 
#define RKH_TR_FWK_TIMER(timerObj_)
 Entry symbol table for timer object. More...
 
#define RKH_TR_FWK_EPOOL(evtPoolObj_)
 Entry symbol table for event pool object. More...
 
#define RKH_TR_FWK_QUEUE(queueObj_)
 Entry symbol table for queue object. More...
 

Detailed Description

Macros for tracing the framework execution.

Macro Definition Documentation

#define RKH_TR_FWK_EN ( )
Value:
RKH_TRC_BEGIN_WOAOSIG(RKH_TE_FWK_EN) \
Initializes the RKH framework.
Definition: rkhtrc.h:3374
#define RKH_TRC_END()
Definition: rkhtrc.h:606

Initializes the RKH framework.

Description
Initialize the RKH framework
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_EN

Definition at line 2122 of file rkhtrc.h.

#define RKH_TR_FWK_EX ( )
Value:
RKH_TRC_BEGIN_WOAOSIG(RKH_TE_FWK_EX) \
#define RKH_TRC_END()
Definition: rkhtrc.h:606
Exit the RKH framework.
Definition: rkhtrc.h:3375

Exit the RKH framework.

Description
Terminate the RKH framework
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_EX

Definition at line 2134 of file rkhtrc.h.

#define RKH_TR_FWK_EPREG (   evtPool_,
  storageSize_,
  evtSize_ 
)
Value:
RKH_TRC_BEGIN_WOAOSIG(RKH_TE_FWK_EPREG) \
RKH_TRC_UI8(evtPool_); \
RKH_TRC_UI32(storageSize_); \
RKH_TRC_ES(evtSize_); \
Registers a new event pool into the event pool list.
Definition: rkhtrc.h:3376
#define RKH_TRC_UI8(d)
Insert a 1-byte data.
Definition: rkhtrc.h:764
#define RKH_TRC_ES(es)
Definition: rkhtrc.h:1159
#define RKH_TRC_UI32(d)
Insert a 4-byte data.
Definition: rkhtrc.h:778
#define RKH_TRC_END()
Definition: rkhtrc.h:606

Registers a new event pool into the event pool list.

Description
Register an event pool
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_EPREG
Parameters
[in]evtPool_Event pool id
[in]storageSize_Storage size
[in]evtSize_Event size

Definition at line 2150 of file rkhtrc.h.

#define RKH_TR_FWK_AE (   evtSize_,
  evt_,
  poolID_,
  refCnt_ 
)
Value:
RKH_TRC_BEGIN_WOAOSIG(RKH_TE_FWK_AE) \
RKH_TRC_ES(evtSize_); \
RKH_TRC_SIG(evt_->e); \
RKH_TRC_UI8(poolID_); \
RKH_TRC_UI8(refCnt_); \
#define RKH_TRC_SIG(e)
Definition: rkhtrc.h:1142
#define RKH_TRC_UI8(d)
Insert a 1-byte data.
Definition: rkhtrc.h:764
#define RKH_TRC_ES(es)
Definition: rkhtrc.h:1159
#define RKH_TRC_END()
Definition: rkhtrc.h:606
Allocates an event from the previously created event pool.
Definition: rkhtrc.h:3377

Allocates an event from the previously created event pool.

Description
Allocate an event from pool
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_AE
Parameters
[in]evtSize_Event size
[in]evt_Event
[in]poolID_Event pool id
[in]refCnt_Reference count

Definition at line 2170 of file rkhtrc.h.

#define RKH_TR_FWK_GC (   evt_,
  poolID_,
  refCnt_ 
)
Value:
RKH_TRC_SIG(evt_->e); \
RKH_TRC_UI8(poolID_); \
RKH_TRC_UI8(refCnt_); \
#define RKH_TRC_SIG(e)
Definition: rkhtrc.h:1142
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
#define RKH_TRC_UI8(d)
Insert a 1-byte data.
Definition: rkhtrc.h:764
Attempt to recycle an event.
Definition: rkhtrc.h:3378
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Attempt to recycle an event.

Description
Attempt to recycle an event
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_GC
Parameters
[in]evt_Event
[in]poolID_Event pool id
[in]refCnt_Reference count

Definition at line 2190 of file rkhtrc.h.

#define RKH_TR_FWK_GCR (   evt_,
  poolID_,
  refCnt_ 
)
Value:
RKH_TRC_SIG(evt_->e); \
RKH_TRC_UI8(poolID_); \
RKH_TRC_UI8(refCnt_); \
#define RKH_TRC_SIG(e)
Definition: rkhtrc.h:1142
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
#define RKH_TRC_UI8(d)
Insert a 1-byte data.
Definition: rkhtrc.h:764
Effective recycling event.
Definition: rkhtrc.h:3379
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Effective recycling event.

Description
Effective recycling of event
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_GCR
Parameters
[in]evt_Event
[in]poolID_Event pool id
[in]refCnt_Reference count

Definition at line 2209 of file rkhtrc.h.

#define RKH_TR_FWK_DEFER (   queue_,
  evt_ 
)
Value:
RKH_TRC_SYM(queue_); \
RKH_TRC_SIG(evt_->e); \
Defer an event to a given separate event queue.
Definition: rkhtrc.h:3380
#define RKH_TRC_SIG(e)
Definition: rkhtrc.h:1142
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
Definition: rkhtrc.h:992
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Defer an event to a given separate event queue.

Description
Defer an event
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_DEFER
Parameters
[in]queue_Target queue to store deferred event
[in]evt_Event

Definition at line 2227 of file rkhtrc.h.

#define RKH_TR_FWK_RCALL (   actObj_,
  evt_ 
)
Value:
RKH_TRC_SYM(actObj_); \
RKH_TRC_SIG(evt_->e); \
Recall a deferred event from a given event queue.
Definition: rkhtrc.h:3381
#define RKH_TRC_SIG(e)
Definition: rkhtrc.h:1142
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
Definition: rkhtrc.h:992
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Recall a deferred event from a given event queue.

Description
Recall an event
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_RCALL
Parameters
[in]actObj_Active object
[in]evt_Event

Definition at line 2244 of file rkhtrc.h.

#define RKH_TR_FWK_OBJ (   obj_)
Value:
do \
{ \
static RKHROM char __o_n[] = # obj_; \
rkh_trc_obj(RKH_TE_FWK_OBJ, (rui8_t *)obj_, \
__o_n); \
} \
while (0)
Entry symbol table for memory object.
Definition: rkhtrc.h:3382
void rkh_trc_obj(RKH_TE_ID_T tre, rui8_t *obj, const char *obj_name)
Output object symbol record.

Entry symbol table for memory object.

Description
Entry symbol table for memory object
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_OBJ
Parameters
[in]obj_Object address

e.g.
Associates the address of the object, in memory with its symbolic name.

...
static int g_status;
static RKH_TMR_T tdll;
RKH_TR_FWK_OBJ(&g_status);

Definition at line 2275 of file rkhtrc.h.

#define RKH_TR_FWK_OBJ_NAME (   obj_,
  name_ 
)
Value:
do \
{ \
rkh_trc_obj(RKH_TE_FWK_OBJ, (rui8_t *)obj_, name_); \
} \
while (0)
Entry symbol table for memory object.
Definition: rkhtrc.h:3382
void rkh_trc_obj(RKH_TE_ID_T tre, rui8_t *obj, const char *obj_name)
Output object symbol record.

Entry symbol table for memory object. Very similar to RKH_TR_FWK_OBJ() but the name of object must be explicitely defined.

Description
Entry symbol table for memory object
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_OBJ
Parameters
[in]obj_Object address
[in]name_Name of object
Note
This macro uses the same trace event that RKH_TR_FWK_OBJ(). Use when the object name is very long and the Trazer's view is unclear.

e.g.
Associates the address of the object, in memory with a name.

...
RKH_TR_FWK_OBJ_NAME(&RKH_CAST(CLI_T, sma)->cli_utmr, "cliutmr");

Definition at line 2312 of file rkhtrc.h.

#define RKH_TR_FWK_SIG (   stateObj_)
Value:
do \
{ \
static RKHROM char __s_n[] = # stateObj_; \
rkh_trc_sig(stateObj_, __s_n); \
} \
while (0)
void rkh_trc_sig(RKH_SIG_T sig, const char *sig_name)
Output signal symbol record.

Entry symbol table for event signal.

Description
Entry symbol table for signal
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_SIG
Parameters
[in]stateObj_Signal

e.g.
Associates the numerical value of the event signal to the symbolic name of the signal.

// in the dedicated application header file resides the signal
// enumeration
enum
{
...
PWR_FAIL,
PRESS_ENTER,
...
};
// frequently, the macro RKH_TR_FWK_SIG() is used in the
// \b main.c file.
RKH_TR_FWK_SIG(PWR_FAIL);
RKH_TR_FWK_SIG(PRESS_ENTER);

Definition at line 2354 of file rkhtrc.h.

#define RKH_TR_FWK_FUN (   function_)
Value:
do \
{ \
static RKHROM char __f_n[] = #function_; \
rkh_trc_obj(RKH_TE_FWK_FUN, (rui8_t *)function_, \
__f_n); \
} \
while (0)
Entry symbol table for function object.
Definition: rkhtrc.h:3384
void rkh_trc_obj(RKH_TE_ID_T tre, rui8_t *obj, const char *obj_name)
Output object symbol record.

Entry symbol table for function object.

Description
Entry symbol table for function
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_FUN
Parameters
[in]function_Function address

e.g.
Associates the address of the function in memory with its symbolic name.

// frequently, the macro RKH_TR_FWK_FUN() is used in the
// \b main.c file.
RKH_TR_FWK_FUN(my_init);
RKH_TR_FWK_FUN(set_x_1);
RKH_TR_FWK_FUN(set_x_2);
RKH_TR_FWK_FUN(set_x_3);
RKH_TR_FWK_FUN(set_y_0);
RKH_TR_FWK_FUN(dummy_exit);
...

Definition at line 2391 of file rkhtrc.h.

#define RKH_TR_FWK_EXE_FUN (   function_)
Value:
RKH_TRC_FUN(function_); \
The function was executed.
Definition: rkhtrc.h:3385
#define RKH_TRC_FUN(sym)
Insert a function address as trace record argument.
Definition: rkhtrc.h:1018
#define RKH_TRC_END_WOFIL()
Definition: rkhtrc.h:718
#define RKH_TRC_BEGIN_WOFIL(eid_)
Definition: rkhtrc.h:709

The function was executed.

Description
Executed function
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_EXE_FUN
Parameters
[in]function_Function address

Example:

void
my_init(const void *sma)
{
CMY(sma)->x = CMY(sma)->y = 0;
}

Definition at line 2421 of file rkhtrc.h.

#define RKH_TR_FWK_SYNC_EVT (   function_,
  senderObj_,
  receiverObj_ 
)
Value:
RKH_TRC_FUN(function_); \
RKH_TRC_SNDR(senderObj_); \
RKH_TRC_SNDR(receiverObj_); \
#define RKH_TRC_SNDR(sym)
Insert a sender object address as trace record argument.
Definition: rkhtrc.h:1001
#define RKH_TRC_FUN(sym)
Insert a function address as trace record argument.
Definition: rkhtrc.h:1018
#define RKH_TRC_END_WOFIL()
Definition: rkhtrc.h:718
The function was synchronously executed. It is not explicitely used by the RKH, instead it's frequent...
Definition: rkhtrc.h:3386
#define RKH_TRC_BEGIN_WOFIL(eid_)
Definition: rkhtrc.h:709

The function was synchronously executed. It is not explicitely used by the RKH, instead it's frequently placed on application source code.

Description
Function was synchronously executed
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_SYNC_EVT
Parameters
[in]function_Function address
[in]senderObj_Sender object
[in]receiverObj_Receiver object

Example:

void
Gas_setCommandedFlow(Gas *me, unsigned int p_commandedFlow)
{
(void)pe;
Valve_setAperture(me->itsValve, 0);
RKH_TR_FWK_SYNC_EVT(Valve_setAperture, &itsGas, me->itsValve);
}

Definition at line 2452 of file rkhtrc.h.

#define RKH_TR_FWK_TUSR (   __e)
Value:
do \
{ \
static RKHROM char __e_n[] = # __e; \
RKH_TRC_TE_ID(EXTE(__e, RKH_TG_USR)); \
RKH_TRC_STR(__e_n); \
} \
while (0)
User group (USR)
Definition: rkhtrc.h:3121
#define RKH_TRC_STR(s)
Insert a string.
Definition: rkhtrc.h:785
#define RKH_TRC_FLUSH()
Platform-dependent macro flushing the trace stream.
Definition: rkh.h:2767
#define RKH_TRC_END_WOFIL()
Definition: rkhtrc.h:718
Entry symbol table for user-defined trace events.
Definition: rkhtrc.h:3387
#define RKH_TRC_BEGIN_WOFIL(eid_)
Definition: rkhtrc.h:709

Entry symbol table for user-defined trace events.

Description
Entry symbol table for user-defined trace events
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_TUSR
Parameters
[in]__eUser trace event ID

e.g.
Associates the numerical value of the user-defined trace event to the symbolic name of that.

...
// frequently, the macro RKH_TR_FWK_TUSR() is used in the
// \b main.c file.
enum // define the user trace events
{
LOWPWR_USRT = RKH_TE_USER,
DISCONNECTED_USRT,
...
};
void
main(void)
{
RKH_TR_FWK_TUSR(LOWPWR_USRT);
RKH_TR_FWK_TUSR(DISCONNECTED_USRT);
...
}

Definition at line 2496 of file rkhtrc.h.

#define RKH_TR_FWK_TCFG (   timeStamp_)

Send trace configuration to Trazer.

Description
Send trace configuration table to Trazer
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_TCFG
Parameters
[in]timeStamp_Trace timestamp in Hz [ticks per second]
Note
The following table shows the format of RKH_TE_FWK_TCFG arguments. The first column means ["byte index", "bit index":"# of bits"] in the data stream.

[byte_index:size in bits]
[ 0, 0:16] - RKH_VERSION_CODE
[ 2, 0: 1] - RKH_CFG_SMA_TRC_SNDR_EN
[ 2, 1: 1] - RKH_CFG_TRC_RTFIL_EN
[ 2, 2: 1] - RKH_CFG_TRC_USER_TRACE_EN
[ 2, 3: 1] - RKH_CFG_TRC_ALL_EN
[ 2, 4: 1] - RKH_CFG_TRC_MP_EN
[ 2, 5: 1] - RKH_CFG_TRC_RQ_EN
[ 2, 6: 1] - RKH_CFG_TRC_SMA_EN
[ 2, 7: 1] - RKH_CFG_TRC_TMR_EN
[ 3, 8: 1] - RKH_CFG_TRC_SM_EN
[ 3, 9: 1] - RKH_CFG_TRC_FWK_EN
[ 3,10: 1] - RKH_CFG_TRC_ASSERT_EN
[ 3,11: 1] - RKH_CFG_RQ_GET_LWMARK_EN
[ 3,12: 1] - RKH_CFG_MP_GET_LWM_EN
[ 3,13: 1] - RKH_CFG_TRC_RTFIL_SMA_EN
[ 3,14: 1] - RKH_CFG_TRC_RTFIL_SIGNAL_EN
[ 3,15: 1] - RKH_CFG_TRC_NSEQ_EN
[ 4,16: 1] - RKH_CFG_TRC_TSTAMP_EN
[ 4,17: 1] - RKH_CFG_TRC_CHK_EN
[ 4,18:14] - 0 (Reserved)
[ 6, 0: 4] - RKH_CFG_FWK_SIZEOF_EVT
[ 6, 4: 4] - RKH_CFGPORT_TRC_SIZEOF_TSTAMP
[ 7, 0: 4] - RKH_CFGPORT_TRC_SIZEOF_PTR
[ 7, 4: 4] - RKH_CFG_TMR_SIZEOF_NTIMER
[ 8, 0: 4] - RKH_CFG_MP_SIZEOF_NBLOCK
[ 8, 4: 4] - RKH_CFG_RQ_SIZEOF_NELEM
[ 9, 0: 4] - RKH_CFG_FWK_SIZEOF_EVT_SIZE
[ 9, 4: 4] - 0 (Reserved)
[10, 0: 4] - RKH_CFG_MP_SIZEOF_BSIZE
[10, 4: 4] - RKH_CFG_FWK_MAX_EVT_POOL
[11, 0:16] - Timestamp HZ (ticks per second)

Definition at line 2558 of file rkhtrc.h.

#define RKH_TR_FWK_ASSERT (   mod_,
  ln_ 
)
Value:
RKH_TRC_STR((RKHROM char *)mod_); \
RKH_TRC_UI16((rui16_t)ln_); \
#define RKH_TRC_STR(s)
Insert a string.
Definition: rkhtrc.h:785
#define RKH_TRC_FLUSH()
Platform-dependent macro flushing the trace stream.
Definition: rkh.h:2767
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
Assertion expression was evaluated to false.
Definition: rkhtrc.h:3389
#define RKH_TRC_UI16(d)
Insert a 2-byte data.
Definition: rkhtrc.h:771
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Assertion expression was evaluated to false.

Description
Assertion expression was evaluated to false
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_EXE_ASSERT
Parameters
[in]mod_Module name (*.c)
[in]ln_Line of code

Definition at line 2614 of file rkhtrc.h.

#define RKH_TR_FWK_AO (   actObj_)
Value:
do \
{ \
rkh_trc_ao((struct RKH_SMA_T *)actObj_); \
} \
while (0)
Describes the SMA (active object in UML).
Definition: rkhitl.h:2930
void rkh_trc_ao(struct RKH_SMA_T *ao)
Output active object (AO) symbol record.

Entry symbol table for active object.

Description
Entry symbol table for active object
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_OBJ
Parameters
[in]actObj_Active object address

e.g.
Associates the address of the active object, in memory with its symbolic name.

...
typedef struct
{
RKH_SMA_T actObj_;
rui8_t x;
rui8_t y;
} AO_T;
RKH_SMA_CREATE(AO_T, actObj_, 0, HCAL, &S1, ao_init, NULL);
RKH_TR_FWK_OBJ(&actObj_);

Definition at line 2653 of file rkhtrc.h.

#define RKH_TR_FWK_STATE (   actObj_,
  stateObj_ 
)
Value:
do \
{ \
rkh_trc_state((struct RKH_SMA_T *)actObj_, \
(rui8_t *)stateObj_); \
} \
while (0)
Describes the SMA (active object in UML).
Definition: rkhitl.h:2930
void rkh_trc_state(struct RKH_SMA_T *ao, rui8_t *state)
Output state symbol record.

Entry symbol table for state object.

Description
Entry symbol table for state object
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_OBJ
Parameters
[in]actObj_Active object address
[in]stateObj_State object address

e.g.
Associates the address of the state object, in memory with its symbolic name.

...
RKH_CREATE_COMP_STATE(S1, en, ex, RKH_ROOT, &S11);
RKH_TRINT(SIX, NULL, show_data),
RKH_TRREG(TWO, NULL, set_y_2, &S2),
...

Definition at line 2689 of file rkhtrc.h.

#define RKH_TR_FWK_PSTATE (   actObj_,
  pseudoStObj_ 
)
Value:
do \
{ \
rkh_trc_state((struct RKH_SMA_T *)actObj_, \
(rui8_t *)pseudoStObj_); \
} \
while (0)
Describes the SMA (active object in UML).
Definition: rkhitl.h:2930
void rkh_trc_state(struct RKH_SMA_T *ao, rui8_t *state)
Output state symbol record.

Entry symbol table for pseudostate object.

Description
Entry symbol table for pseudostate object
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_OBJ
Parameters
[in]actObj_Active object address
[in]pseudoStObj_Pseudostate object address

e.g.
Associates the address of the pseudostate object, in memory with its symbolic name.

...
RKH_CREATE_COND_STATE(C1, 12);
RKH_BRANCH(y_1, NULL, &H),
RKH_BRANCH(y_2, dummy_act, &DH),
RKH_BRANCH(y_0, NULL, &S1),
...

Definition at line 2727 of file rkhtrc.h.

#define RKH_TR_FWK_TIMER (   timerObj_)
Value:
do \
{ \
static RKHROM char __to_n[] = # timerObj_; \
rkh_trc_obj(RKH_TE_FWK_TIMER, (rui8_t *)timerObj_, \
__to_n); \
} \
while (0)
Entry symbol table for timer object.
Definition: rkhtrc.h:3393
void rkh_trc_obj(RKH_TE_ID_T tre, rui8_t *obj, const char *obj_name)
Output object symbol record.

Entry symbol table for timer object.

Description
Entry symbol table for timer object
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_OBJ
Parameters
[in]timerObj_Timer object address

e.g.
Associates the address of the timer object, in memory with its symbolic name.

...
static RKH_TMR_T bky_tmr;
RKH_TR_FWK_TIMER(&bky_tmr);

Definition at line 2758 of file rkhtrc.h.

#define RKH_TR_FWK_EPOOL (   evtPoolObj_)
Value:
do \
{ \
static RKHROM char __epo_n[] = #evtPoolObj_; \
rkh_trc_obj(RKH_TE_FWK_EPOOL, (rui8_t *)evtPoolObj_, \
__epo_n); \
} \
while (0)
Entry symbol table for event pool object.
Definition: rkhtrc.h:3394
void rkh_trc_obj(RKH_TE_ID_T tre, rui8_t *obj, const char *obj_name)
Output object symbol record.

Entry symbol table for event pool object.

Description
Entry symbol table for event pool object
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_OBJ
Parameters
[in]evtPoolObj_Event pool object address

e.g.
Associates the address of the event pool object, in memory with its symbolic name.

...
static rui8_t ep0_sto[ SIZEOF_EP0STO ],
ep1_sto[ SIZEOF_EP1STO ];
...
RKH_TR_FWK_EPOOL(&ep0_sto);
RKH_TR_FWK_EPOOL(&ep1_sto);
rkh_fwk_epool_register(ep0_sto, SIZEOF_EP0STO,
SIZEOF_EP0_BLOCK);
rkh_fwk_epool_register(ep1_sto, SIZEOF_EP1STO,
SIZEOF_EP1_BLOCK);
...

Definition at line 2799 of file rkhtrc.h.

#define RKH_TR_FWK_QUEUE (   queueObj_)
Value:
do \
{ \
static RKHROM char __qo_n[] = #queueObj_; \
rkh_trc_obj(RKH_TE_FWK_QUEUE, (rui8_t *)queueObj_, \
__qo_n); \
} \
while (0)
void rkh_trc_obj(RKH_TE_ID_T tre, rui8_t *obj, const char *obj_name)
Output object symbol record.
Entry symbol table for queue object.
Definition: rkhtrc.h:3395

Entry symbol table for queue object.

Description
Entry symbol table for queue object
Group
RKH_TG_FWK
EventID
RKH_TE_FWK_OBJ
Parameters
[in]queueObj_Queue object address

e.g.
Associates the address of the queue object, in memory with its symbolic name.

...
#define QSTO_SIZE 4
static RKH_EVT_T *qsto[QSTO_SIZE];
...
RKH_TR_FWK_QUEUE(&blinky->equeue);
rkh_sma_activate(blinky, (const RKH_EVT_T **)qsto,
QSTO_SIZE, CV(0), 0);
...

Definition at line 2836 of file rkhtrc.h.