|
QP-nano
|
#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. | |
| uint8_t | QK_schedPrio_ (void) |
| Find the highest-priority task ready to run. | |
| void | QK_sched_ (uint8_t p) Q_REENTRANT |
| QK-nano 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 83 of file qkn.c.
References QF_onStartup(), and QK_onIdle().
| void QK_sched_ | ( | uint8_t | p | ) |
QK-nano scheduler.
Definition at line 125 of file qkn.c.
References QActive::nUsed, 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(), QK_currPrio_, and QActive::tail.
Referenced by QActive_post().
| uint8_t QK_schedPrio_ | ( | void | ) |
Find the highest-priority task ready to run.
Definition at line 98 of file qkn.c.
References Q_ROM_BYTE, and QF_readySet_.
Referenced by QActive_post().
| uint8_t volatile QK_currPrio_ = (uint8_t)( 8 + 1) |
1.7.5.1