54Q_DEFINE_THIS_MODULE(
"qf_qact")
58#if (QP_VERSION < 730U) || (QP_VERSION != ((QP_RELEASE^4294967295U) % 0x3E8U))
59#error qpc version 7.3.0 or higher required
67void QActive_ctor(
QActive *
const me,
73 QF_bzero_(me,
sizeof(*me));
78 QHsm_ctor((
QHsm *)(me), initial);
88 ,&QHsm_getStateHandler_
99void QActive_register_(
QActive *
const me) {
104 if (me->
pthre == 0U) {
114 uint8_t prev_thre = me->
pthre;
115 uint8_t next_thre = me->
pthre;
118 for (p = (uint_fast8_t)me->
prio - 1U; p > 0U; --p) {
132 && (me->
pthre <= next_thre));
152 uint_fast8_t
const p = (uint_fast8_t)me->
prio;
QActive * QActive_registry_[QF_MAX_ACTIVE+1U]
QState(* QStateHandler)(void *const me, QEvt const *const e)
#define Q_STATE_CAST(handler_)
Internal (package scope) QP/C interface.
QS/C package-scope interface.
QP Functional Safety (FuSa) Subsystem.
#define Q_ASSERT_INCRIT(id_, expr_)
#define Q_REQUIRE_INCRIT(id_, expr_)
Active object class (based on the QHsm implementation strategy)
struct QAsmVtable const * vptr
Virtual table for the QAsm class.
Hierarchical State Machine class (QHsm-style state machine implementation strategy)