QP/C  7.3.4
Real-Time Embedded Framework
Loading...
Searching...
No Matches
qs_port.h File Reference

Sample QS/C port. More...

#include "qp_port.h"
#include "qs.h"

Go to the source code of this file.

Macros

#define QS_TIME_SIZE   4U
 QS time-stamp size in bytes.
 
#define QS_OBJ_PTR_SIZE   4U
 object pointer size in bytes
 
#define QS_FUN_PTR_SIZE   4U
 function pointer size in bytes
 
#define QS_CTR_SIZE   2U
 
#define QS_TIME_SIZE   4U
 QS time-stamp size in bytes.
 

Detailed Description

Sample QS/C port.

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 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.h" before "qs.h".

Definition in file qs_port.h.

Macro Definition Documentation

◆ QS_TIME_SIZE [1/2]

#define QS_TIME_SIZE   4U

QS time-stamp size in bytes.

QS time stamp size in bytes. Valid values: 1U, 2U, or 4U; default 4U.

Definition at line 19 of file qs_port.h.

◆ QS_OBJ_PTR_SIZE

#define QS_OBJ_PTR_SIZE   4U

object pointer size in bytes

Definition at line 22 of file qs_port.h.

◆ QS_FUN_PTR_SIZE

#define QS_FUN_PTR_SIZE   4U

function pointer size in bytes

Definition at line 25 of file qs_port.h.

◆ QS_CTR_SIZE

#define QS_CTR_SIZE   2U

QS buffer-counters size in bytes. Valid values: 2U or 4U; default 2U.

Definition at line 29 of file qs_port.h.

◆ QS_TIME_SIZE [2/2]

#define QS_TIME_SIZE   4U

QS time-stamp size in bytes.

QS time stamp size in bytes. Valid values: 1U, 2U, or 4U; default 4U.

Definition at line 19 of file qs_port.h.