Reference Manual For QP/C 8.1.5
Toggle main menu visibility
Loading...
Searching...
No Matches
qs_port.h
Go to the documentation of this file.
1
//============================================================================
2
// QP/C Real-Time Event Framework (RTEF)
3
//
4
// Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved.
5
//
6
// Q u a n t u m L e a P s
7
// ------------------------
8
// Modern Embedded Software
9
//
10
// SPDX-License-Identifier: LicenseRef-QL-commercial
11
//
12
// This software is licensed under the terms of the Quantum Leaps commercial
13
// licenses. Please contact Quantum Leaps for more information about the
14
// available licensing options.
15
//
16
// RESTRICTIONS
17
// You may NOT :
18
// (a) redistribute, encumber, sell, rent, lease, sublicense, or otherwise
19
// transfer rights in this software,
20
// (b) remove or alter any trademark, logo, copyright or other proprietary
21
// notices, legends, symbols or labels present in this software,
22
// (c) plagiarize this software to sidestep the licensing obligations.
23
//
24
// Quantum Leaps contact information:
25
// <www.state-machine.com/licensing>
26
// <info@state-machine.com>
27
//============================================================================
28
#ifndef QS_PORT_H_
29
#define QS_PORT_H_
30
31
// object pointer size in bytes
32
#define QS_OBJ_PTR_SIZE 4U
33
34
// function pointer size in bytes
35
#define QS_FUN_PTR_SIZE 4U
36
37
//============================================================================
38
// NOTE: QS might be used with or without other QP components, in which
39
// case the separate definitions of the macros QF_CRIT_STAT, QF_CRIT_ENTRY(),
40
// and QF_CRIT_EXIT() are needed. In this port QS is configured to be used
41
// with the other QP component, by simply including "qp_port.h"
42
// *before* "qs.h".
43
#ifndef QP_PORT_H_
44
#include "
qp_port.h
"
// use QS with QP
45
#endif
46
47
#include "
qs.h
"
// QS platform-independent public interface
48
49
#endif
// QS_PORT_H_
qp_port.h
Sample QP/C port.
qs.h
QS (QP/Spy software tracing) platform-independent public interface.
qpc
templates
ports
qs_port.h
©
Quantum Leaps
|
YouTube
|
GitHub
| created with
Spexygen
©
Quantum Leaps
|
YouTube
|
GitHub
| created with
Spexygen