Internal (package scope) QK/C interface. More...
#include "qf_port.h"Go to the source code of this file.
Defines | |
| #define | QK_INT_LOCK_KEY_ QF_INT_KEY_TYPE intLockKey_; |
| This is an internal macro for defining the interrupt lock key. | |
| #define | QK_INT_LOCK_() QF_INT_LOCK(intLockKey_) |
| This is an internal macro for locking interrupts. | |
| #define | QK_INT_UNLOCK_() QF_INT_UNLOCK(intLockKey_) |
| This is an internal macro for unlocking interrupts. | |
Variables | |
| uint8_t volatile | QK_ceilingPrio_ |
| QK mutex priority ceiling. | |
Internal (package scope) QK/C interface.
Definition in file qk_pkg.h.
| #define QK_INT_LOCK_ | ( | ) | QF_INT_LOCK(intLockKey_) |
This is an internal macro for locking interrupts.
The purpose of this macro is to enable writing the same code for the case when interrupt key is defined and when it is not. If the macro QF_INT_KEY_TYPE is defined, this internal macro invokes QF_INT_LOCK passing the key variable as the parameter. Otherwise QF_INT_LOCK is invoked with a dummy parameter.
Definition at line 61 of file qk_pkg.h.
Referenced by QK::getVersion(), QK::mutexLock(), and QK::mutexUnlock().
| #define QK_INT_LOCK_KEY_ QF_INT_KEY_TYPE intLockKey_; |
This is an internal macro for defining the interrupt lock key.
The purpose of this macro is to enable writing the same code for the case when interrupt key is defined and when it is not. If the macro QF_INT_KEY_TYPE is defined, this internal macro provides the definition of the lock key variable. Otherwise this macro is empty.
Definition at line 51 of file qk_pkg.h.
Referenced by QK::getVersion(), QK::mutexLock(), and QK::mutexUnlock().
| #define QK_INT_UNLOCK_ | ( | ) | QF_INT_UNLOCK(intLockKey_) |
This is an internal macro for unlocking interrupts.
The purpose of this macro is to enable writing the same code for the case when interrupt key is defined and when it is not. If the macro QF_INT_KEY_TYPE is defined, this internal macro invokes QF_INT_UNLOCK passing the key variable as the parameter. Otherwise QF_INT_UNLOCK is invoked with a dummy parameter.
Definition at line 71 of file qk_pkg.h.
Referenced by QK::getVersion(), QK::mutexLock(), and QK::mutexUnlock().
1.6.3