QP/C
Data Structures | Defines | Variables
qf_pkg.h File Reference

Internal (package scope) QF/C interface. More...

#include "qf_port.h"
#include "qs_port.h"

Go to the source code of this file.

Data Structures

struct  QFreeBlock
 structure representing a free block in the Native QF Memory Pool More...

Defines

#define QF_EVT_POOL_ID_(e_)   ((e_)->poolId_)
 access to the poolId of an event e_
#define QF_EVT_REF_CTR_(e_)   ((e_)->refCtr_)
 access to the refCtr of an event e_
#define QF_EVT_REF_CTR_INC_(e_)   (++((QEvt *)(e_))->refCtr_)
 increment the refCtr of an event e_
#define QF_EVT_REF_CTR_DEC_(e_)   (--((QEvt *)(e_))->refCtr_)
 decrement the refCtr of an event e_
#define QF_PTR_AT_(base_, i_)   (base_[(i_)])
 access element at index i_ from the base pointer base_
#define QS_EQC_(ctr_)   QS_u8_(ctr_)
 Internal QS macro to output an unformatted event queue counter data element.

Variables

QTimeEvtQF_timeEvtListHead_
QF_EPOOL_TYPE_ QF_pool_ [QF_MAX_EPOOL]
uint8_t QF_maxPool_
QSubscrListQF_subscrList_
enum_t QF_maxSignal_

Detailed Description

Internal (package scope) QF/C interface.

Definition in file qf_pkg.h.


Define Documentation

#define QS_EQC_ (   ctr_)    QS_u8_(ctr_)

Internal QS macro to output an unformatted event queue counter data element.

Note:
the counter size depends on the macro QF_EQUEUE_CTR_SIZE.

Definition at line 131 of file qf_pkg.h.

Referenced by QActive_get_(), QActive_postFIFO(), QActive_postLIFO(), QEQueue_get(), QEQueue_init(), QEQueue_postFIFO(), and QEQueue_postLIFO().


Variable Documentation

uint8_t QF_maxPool_

# of initialized event pools

Definition at line 48 of file qf_pool.c.

Referenced by QF_gc(), QF_getPoolMargin(), and QF_poolInit().

the maximum published signal

Definition at line 46 of file qf_psini.c.

Referenced by QActive_subscribe(), QActive_unsubscribe(), QActive_unsubscribeAll(), QF_psInit(), and QF_publish().

allocate event pools

Definition at line 47 of file qf_pool.c.

Referenced by QF_gc(), QF_getPoolMargin(), and QF_poolInit().

the subscriber list array

Definition at line 45 of file qf_psini.c.

Referenced by QActive_subscribe(), QActive_unsubscribe(), QActive_unsubscribeAll(), and QF_publish().

head of linked list of time evts

Definition at line 48 of file qte_arm.c.

Referenced by QF_noTimeEvtsActive(), QF_tick(), QTimeEvt_arm_(), and QTimeEvt_rearm().