User`s manual
Copyright © Quantum Leaps, LLC. All Rights Reserved.
QDK™
Renesas RX with HEW
state-machine.com/rx
Figure 3: The example model opened in the QM™ modeling tool
The QDK-RX example code includes the following components:
Board support package (BSP) which provides interrupt service routines (ISRs), all QP callbacks, and
an interface to the board's LEDs, push buttons, system clock tick timer, and serial port.
QP port to RX for the Vanilla cooperative kernel described in Chapter 7 of [PSiCC2]
QP port to RX for the preemptive run-to-completion QK kernel described in Chapter 10 of [PSiCC2]
The DPP example for both the cooperative Vanilla kernel and the preemptive QK kernel.
The QM™ model of the Dinging Philosophers Problem (see Figure 3)
NOTE: The significant parts of the source code (files
dpp.h
,
philo.c
, and
table.c
) have been
generated by the QM™ modeling tool from the
dppp.qm
model, which is the same for the Vanilla
and QK versions of the DPP application. These files can be edited by hand (after unchecking the
read-only property), but the changes made at the code level won't be incorporated back into the
model.
NOTE: This QDK Manual covers both the C and C++ versions of the QP™ state machine
frameworks. Most of the code listings in this document refer to the QP/C version. Occasionally the C
code is followed by the equivalent C++ implementation to show the C++ differences whenever such
differences become important.
1.4 Licensing QP™
The Generally Available (GA) distribution of QP™ available for download from the www.state-
machine.com/ downloads website is offered with the following two licensing options:
4 of 32










