mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-28 06:02:56 +08:00
80d9bcd6fb
Added QP Functional Safety (FuSa) Subsystem Memory Isolation with MPU Added QAsm abstract state machine base class Added memory marker to QEvt and rearranged memory layout Updated: QP-FreeRTOS, QP-ESP-IDF,QP-Zephyr Added drift-free ticking for QP-POSIX Reorganized documentation Updated 3rd_party
66 lines
2.0 KiB
C++
66 lines
2.0 KiB
C++
//$file${.::qmsmtst.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|
|
//
|
|
// Model: qmsmtst.qm
|
|
// File: ${.::qmsmtst.hpp}
|
|
//
|
|
// This code has been generated by QM 5.3.0 <www.state-machine.com/qm>.
|
|
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
//
|
|
// This generated code is open source software: you can redistribute it under
|
|
// the terms of the GNU General Public License as published by the Free
|
|
// Software Foundation.
|
|
//
|
|
// This code is distributed in the hope that it will be useful, but WITHOUT
|
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
// more details.
|
|
//
|
|
// NOTE:
|
|
// Alternatively, this generated code may be distributed under the terms
|
|
// of Quantum Leaps commercial licenses, which expressly supersede the GNU
|
|
// General Public License and are specifically designed for licensees
|
|
// interested in retaining the proprietary status of their code.
|
|
//
|
|
// Contact information:
|
|
// <www.state-machine.com/licensing>
|
|
// <info@state-machine.com>
|
|
//
|
|
//$endhead${.::qmsmtst.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#ifndef QMSMTST_HPP_
|
|
#define QMSMTST_HPP_
|
|
|
|
//$declare${Shared} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|
|
namespace APP {
|
|
|
|
//${Shared::QMsmTstSignals} ..................................................
|
|
enum QMsmTstSignals {
|
|
A_SIG = QP::Q_USER_SIG,
|
|
B_SIG,
|
|
C_SIG,
|
|
D_SIG,
|
|
E_SIG,
|
|
F_SIG,
|
|
G_SIG,
|
|
H_SIG,
|
|
I_SIG,
|
|
TERMINATE_SIG,
|
|
IGNORE_SIG,
|
|
MAX_SIG
|
|
};
|
|
|
|
//${Shared::the_sm} ..........................................................
|
|
extern QP::QAsm * const the_sm;
|
|
|
|
//${Shared::BSP_display} .....................................................
|
|
void BSP_display(char const * msg);
|
|
|
|
//${Shared::BSP_terminate} ...................................................
|
|
void BSP_terminate(std::int16_t const result);
|
|
|
|
} // namespace APP
|
|
//$enddecl${Shared} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
#endif // QMSMTST_HPP_
|