|
QP-nano
|
00001 /***************************************************************************** 00002 * Product: QP-nano port to Lint 00003 * Last Updated for Version: 4.1.05 00004 * Date of the Last Update: Oct 27, 2010 00005 * 00006 * Q u a n t u m L e a P s 00007 * --------------------------- 00008 * innovating embedded systems 00009 * 00010 * Copyright (C) 2002-2010 Quantum Leaps, LLC. All rights reserved. 00011 * 00012 * This software may be distributed and modified under the terms of the GNU 00013 * General Public License version 2 (GPL) as published by the Free Software 00014 * Foundation and appearing in the file GPL.TXT included in the packaging of 00015 * this file. Please note that GPL Section 2[b] requires that all works based 00016 * on this software must also be made publicly available under the terms of 00017 * the GPL ("Copyleft"). 00018 * 00019 * Alternatively, this software may be distributed and modified under the 00020 * terms of Quantum Leaps commercial licenses, which expressly supersede 00021 * the GPL and are specifically designed for licensees interested in 00022 * retaining the proprietary status of their code. 00023 * 00024 * Contact information: 00025 * Quantum Leaps Web site: http://www.quantum-leaps.com 00026 * e-mail: info@quantum-leaps.com 00027 *****************************************************************************/ 00028 #ifndef qpn_port_h 00029 #define qpn_port_h 00030 00055 #define Q_ROM 00056 00071 #define Q_ROM_VAR 00072 00085 #define Q_REENTRANT 00086 00102 /*lint -e961 */ /* ignore MISRA 2004 Rule 19.7 (function-like macro) */ 00103 #define Q_ROM_BYTE(rom_var_) (rom_var_) 00104 00120 /*lint -e961 */ /* ignore MISRA 2004 Rule 19.7 (function-like macro) */ 00121 #define Q_ROM_PTR(rom_var_) (rom_var_) 00122 00134 #define Q_PARAM_SIZE 1 00135 00149 #define QF_TIMEEVT_CTR_SIZE 2 00150 00154 /*#define Q_NFSM */ 00155 00169 #define QF_FSM_ACTIVE 00170 00179 #define QF_MAX_ACTIVE 8 00180 00181 00190 #define QF_INT_LOCK() intLock() 00191 00200 #define QF_INT_UNLOCK() intUnlock() 00201 00202 void intLock(void); 00203 void intUnlock(void); 00204 00205 /* Exact-width types. WG14/N843 C99 Standard, Section 7.18.1.1 */ 00206 typedef signed char int8_t; 00207 typedef signed short int16_t; 00208 typedef signed long int32_t; 00209 typedef unsigned char uint8_t; 00210 typedef unsigned short uint16_t; 00211 typedef unsigned long uint32_t; 00212 00213 #include "qepn.h" /* QEP-nano platform-independent public interface */ 00214 #include "qfn.h" /* QF-nano platform-independent public interface */ 00215 #include "qkn.h" /* QK-nano platform-independent public interface */ 00216 00217 #endif /* qpn_port_h */
1.7.5.1