qk_pkg.h File Reference

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_

Detailed Description

Internal (package scope) QK/C interface.

Definition in file qk_pkg.h.


Define Documentation

 
#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.

See also:
QK_INT_LOCK_KEY_, QK_INT_UNLOCK_

Definition at line 65 of file qk_pkg.h.

Referenced by QF_run(), 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.

See also:
QF_INT_KEY_TYPE, QK_INT_LOCK_, QK_INT_UNLOCK_

Definition at line 54 of file qk_pkg.h.

Referenced by QF_run(), 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.

See also:
QK_INT_LOCK_KEY_, QK_INT_LOCK_

Definition at line 76 of file qk_pkg.h.

Referenced by QF_run(), QK_mutexLock(), and QK_mutexUnlock().


Variable Documentation

QK mutex priority ceiling

Definition at line 44 of file qk_mutex.c.

Referenced by QK_mutexLock(), and QK_mutexUnlock().

Generated on Tue Mar 16 19:38:11 2010 for QP/C by  doxygen 1.6.3