54Q_DEFINE_THIS_MODULE(
"qf_defer")
58#if (QP_VERSION < 730U) || (QP_VERSION != ((QP_RELEASE^4294967295U)%0x2710U))
59#error qpc version 7.3.0 or higher required
66bool QActive_defer(
QActive const *
const me,
70 bool const status = QEQueue_post(eq, e, 0U, me->
prio);
80 QS_2U8_PRE_(QEvt_getPoolNum_(e), e->refCtr_);
95 QEvt const *
const e = QEQueue_get(eq, me->prio);
105 if (QEvt_getPoolNum_(e) != 0U) {
123 QS_2U8_PRE_(QEvt_getPoolNum_(e), e->refCtr_);
153uint_fast16_t QActive_flushDeferred(
QActive const *
const me,
155 uint_fast16_t
const num)
157 uint_fast16_t n = 0U;
159 QEvt const *
const e = QEQueue_get(eq, me->
prio);
160 if (e != (
QEvt *)0) {
162 #if (QF_MAX_EPOOL > 0U)
#define QACTIVE_POST_LIFO(me_, e_)
Post an event to an active object using the Last-In-First-Out (LIFO) policy.
Internal (package scope) QP/C interface.
@ QS_QF_ACTIVE_RECALL
AO recalled an event.
@ QS_QF_ACTIVE_RECALL_ATTEMPT
AO attempted to recall an event.
@ QS_QF_ACTIVE_DEFER
AO deferred an event.
QS/C package-scope interface.
QP Functional Safety (FuSa) Subsystem.
#define Q_ASSERT_INCRIT(id_, expr_)
Active object class (based on the QHsm implementation strategy)
uint8_t prio
QF-priority [1..QF_MAX_ACTIVE] of this AO.