QP/C++ 8.1.2
Real-Time Event Framework
Loading...
Searching...
No Matches
qs_port.hpp File Reference

Sample QS/C++ port. More...

#include "qp_port.hpp"
#include "qs.hpp"

Go to the source code of this file.

Macros

#define QS_TIME_SIZE   4U
#define QS_OBJ_PTR_SIZE   4U
#define QS_FUN_PTR_SIZE   4U

Detailed Description

Sample QS/C++ port.

Details
This is just an example of a QS port for a 32-bit CPU. Other specific QS ports will define the QS facilities differently.

Remarks
QS might be used with or without the other QP/C++ Framework components, in which case the separate definitions of the macros QS_CRIT_STAT, QS_CRIT_ENTRY(), and QS_CRIT_EXIT() are needed. In this sample port QS is configured to be used with the other QP component, by simply including "qp_port.hpp" before "qs.hpp".

Definition in file qs_port.hpp.

Macro Definition Documentation

◆ QS_TIME_SIZE

#define QS_TIME_SIZE   4U

Definition at line 19 of file qs_port.hpp.

◆ QS_OBJ_PTR_SIZE

#define QS_OBJ_PTR_SIZE   4U

Definition at line 22 of file qs_port.hpp.

◆ QS_FUN_PTR_SIZE

#define QS_FUN_PTR_SIZE   4U

Definition at line 25 of file qs_port.hpp.