Daniel Peter
/
RtosTest
Embed:
(wiki syntax)
Show/hide line numbers
commdefs.h
00001 //****************************************************************************** 00002 //* 00003 //* FULLNAME: Single-Chip Microcontroller Real-Time Operating System 00004 //* 00005 //* NICKNAME: scmRTOS 00006 //* 00007 //* PROCESSOR: ARM Cortex-M3 00008 //* 00009 //* TOOLKIT: EWARM (IAR Systems) 00010 //* 00011 //* PURPOSE: Common Type Definitions 00012 //* 00013 //* Version: 3.10 00014 //* 00015 //* $Revision: 195 $ 00016 //* $Date:: 2008-06-19 #$ 00017 //* 00018 //* Copyright (c) 2003-2010, Harry E. Zhurov 00019 //* 00020 //* Permission is hereby granted, free of charge, to any person 00021 //* obtaining a copy of this software and associated documentation 00022 //* files (the "Software"), to deal in the Software without restriction, 00023 //* including without limitation the rights to use, copy, modify, merge, 00024 //* publish, distribute, sublicense, and/or sell copies of the Software, 00025 //* and to permit persons to whom the Software is furnished to do so, 00026 //* subject to the following conditions: 00027 //* 00028 //* The above copyright notice and this permission notice shall be included 00029 //* in all copies or substantial portions of the Software. 00030 //* 00031 //* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00032 //* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00033 //* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00034 //* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 00035 //* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 00036 //* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 00037 //* THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00038 //* 00039 //* ================================================================= 00040 //* See http://scmrtos.sourceforge.net for documentation, latest 00041 //* information, license and contact details. 00042 //* ================================================================= 00043 //* 00044 //****************************************************************************** 00045 //* Ported by Andrey Chuikin, Copyright (c) 2008-2010 00046 00047 00048 #ifndef COMMONDEFS_H 00049 #define COMMONDEFS_H 00050 00051 #define DEBUG_STACK 00052 #define STACK_FILL_CONST 0xFFF7FFFF 00053 00054 #ifndef __IAR_SYSTEMS_ASM__ 00055 00056 typedef unsigned char byte; 00057 typedef signed char sbyte; 00058 typedef unsigned short word; 00059 typedef unsigned long dword; 00060 00061 typedef volatile byte sfr_byte; 00062 typedef volatile word sfr_word; 00063 typedef volatile dword sfr_dword; 00064 00065 #define INLINE _Pragma("inline=forced") 00066 00067 #endif // __IAR_SYSTEMS_ASM__ 00068 00069 #endif // COMMONDEFS_H 00070 00071 //----------------------------------------------------------------------------- 00072 00073 /*============================================================================*/ 00074
Generated on Tue Jul 12 2022 21:14:46 by 1.7.2