#include "qpn_port.h"Go to the source code of this file.
Defines | |
| #define | QEP_EMPTY_SIG_ 0 |
| #define | QEP_MAX_NEST_DEPTH_ 5 |
Functions | |
| char const Q_ROM *Q_ROM_VAR | QP_getVersion (void) |
| get the current QP version number string | |
| void | QFsm_init (QFsm *me) |
| Initializes a FSM. | |
| QState | QHsm_top (QHsm *me) |
| The top-state. | |
| void | QHsm_init (QHsm *me) |
| Initializes a HSM. | |
QEP-nano implementation.
Definition in file qepn.c.
| #define QEP_EMPTY_SIG_ 0 |
| #define QEP_MAX_NEST_DEPTH_ 5 |
maximum depth of state nesting (including the top level), must be >= 2
Definition at line 44 of file qepn.c.
Referenced by QHsm_init().
| void QFsm_init | ( | QFsm * | me | ) |
Initializes a FSM.
Takes the top-most initial transition in a FSM.
| me | is the pointer the state machine structure derived from FHsm. |
Definition at line 63 of file qepn.c.
References Q_ENTRY_SIG, Q_SIG, and QFsm::state.
Referenced by QF_run().
| void QHsm_init | ( | QHsm * | me | ) |
Initializes a HSM.
Takes the top-most initial transition in a HSM.
| me | is the pointer the state machine structure derived from QHsm. |
Definition at line 94 of file qepn.c.
References Q_ALLEGE, Q_ASSERT, Q_ENTRY_SIG, Q_INIT_SIG, Q_RET_TRAN, Q_SIG, QEP_EMPTY_SIG_, QEP_MAX_NEST_DEPTH_, and QHsm_top().
Referenced by QF_run().
The top-state.
QHsm_top() is the ultimate root of state hierarchy in all HSMs derived from QHsm. This state handler always returns (QState)0, which means that it "handles" all events.
Definition at line 89 of file qepn.c.
References Q_IGNORED.
Referenced by QHsm_init().
| char const Q_ROM* Q_ROM_VAR QP_getVersion | ( | void | ) |
get the current QP version number string
Definition at line 48 of file qepn.c.
References Q_ROM, Q_ROM_VAR, and QP_VERSION.
1.6.2