#include "qpn_port.h"Go to the source code of this file.
Functions | |
| void | QF_run (void) |
| Transfers control to QF to run the application. | |
| void | QK_schedule_ (void) |
| The QK scheduler. | |
Variables | |
| uint8_t volatile | QK_currPrio_ = (uint8_t)( 8 + 1) |
QK-nano implementation.
Definition in file qkn.c.
| void QF_run | ( | void | ) |
Transfers control to QF to run the application.
QF_run() implemetns the simple non-preemptive scheduler. QF_run() must be called from your startup code after you initialize the QF and define at least one active object control block in QF_active[].
Definition at line 55 of file qkn.c.
References QActive::prio, Q_ASSERT, Q_ROM_PTR, QF_active, QF_INT_LOCK, QF_INT_UNLOCK, QF_MAX_ACTIVE, QF_onStartup(), QFsm_init(), QHsm_init(), QK_onIdle(), and QK_SCHEDULE_.
| void QK_schedule_ | ( | void | ) |
The QK scheduler.
Definition at line 87 of file qkn.c.
References QActiveCB::end, QActive::nUsed, QActive::prio, Q_ASSERT, Q_PAR, Q_PARAM_SIZE, Q_ROM, Q_ROM_BYTE, Q_ROM_PTR, Q_ROM_VAR, Q_SIG, QF_active, QF_INT_LOCK, QF_INT_UNLOCK, QF_readySet_, QFsm_dispatch(), QHsm_dispatch(), QActiveCB::queue, and QActive::tail.
Referenced by QActive_post().
| uint8_t volatile QK_currPrio_ = (uint8_t)( 8 + 1) |
1.6.3