Zilog EZ80F91AZA User Manual
Page 37

UM007518-1211
In-Depth Questions About Using RZK
Zilog Real-Time Kernel: eZ80
®
CPU
User Manual
27
Q:
Can I change the blocking queue type from FIFO to priority or vice versa for mes-
sagequeues, semaphores or other RZK objects?
A:
No. You cannot change the blocking queue type of a created object.
Q:
What is the difference between the macros
RZK_SYSTICKS_
INSECH
and
RZK_DEVTICKS_PERSYSTICKH
? The granularity of the system is depen-
dent on which of these macros?
A:
The
RZK_SYSTICKS_INSECH
represents system ticks per second, whereas
RZK_DEVTICKS_PERSYSTICKH
represents the number of device ticks that are present in
one system tick. The granularity of the system depends upon the
RZK_SYSTICKS_INSECH
value.
Q:
What are Debug Priority Inheritance, Debug Non Priority Inheritance, Non Debug
Priority Inheritance and Non DebugNon Priority Inheritance? Why are they required?
A:
These four sets of RZK libraries (four for each target platform) are categorized
according to the implementation of priority inheritance protocol. Debug Priority Inheri-
tance indicates that debugging and Priority Inheritance are enabled. The N in front of
either Debug or Priority Inheritance indicates that they are disabled.
For example, The real-time application may therefore be used first with the RZK
DebugPI
configuration to remove any errors during testing of the system. If the applica-
tion is error-free, it is preferable to use the RZK
NDebugNPI
or RZK
NDebugPI
configu-
ration, based on the application requirements.
Q:
I changed the RZK configuration from Debug Priority Inheritance to Non Debug Non
Priority Inheritance by including the Non Debug Non Priority Inheritance libraries in the
project and removing the Debug Priority Inheritance libraries from the project. Do I need
to change anything else?
A:
No.
Q:
What is the include order for RZK-related header files?
A:
The include order for RZK-related header files is:
#include "ZTypes.h"
#include "ZSysgen.h"
"other required RZK header files"
ZSysgen.h
and
ZTypes.h
can be in any order, but all other RZK header files must be
included after these two header files because all of the RZK header files use the macros
and definitions of the
ZSysgen.h
and
ZTypes.h
files.