Committer:
segundo
Date:
Thu Nov 11 10:30:39 2010 +0000
Revision:
7:6fab7e5aa489
Parent:
0:d7810ff946c1

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
segundo 0:d7810ff946c1 1 //******************************************************************************
segundo 0:d7810ff946c1 2 //*
segundo 0:d7810ff946c1 3 //* FULLNAME: Single-Chip Microcontroller Real-Time Operating System
segundo 0:d7810ff946c1 4 //*
segundo 0:d7810ff946c1 5 //* NICKNAME: scmRTOS
segundo 0:d7810ff946c1 6 //*
segundo 0:d7810ff946c1 7 //* PROCESSOR: ARM Cortex-M3
segundo 0:d7810ff946c1 8 //*
segundo 0:d7810ff946c1 9 //* TOOLKIT: EWARM (IAR Systems)
segundo 0:d7810ff946c1 10 //*
segundo 0:d7810ff946c1 11 //* PURPOSE: Common Type Definitions
segundo 0:d7810ff946c1 12 //*
segundo 0:d7810ff946c1 13 //* Version: 3.10
segundo 0:d7810ff946c1 14 //*
segundo 0:d7810ff946c1 15 //* $Revision: 195 $
segundo 0:d7810ff946c1 16 //* $Date:: 2008-06-19 #$
segundo 0:d7810ff946c1 17 //*
segundo 0:d7810ff946c1 18 //* Copyright (c) 2003-2010, Harry E. Zhurov
segundo 0:d7810ff946c1 19 //*
segundo 0:d7810ff946c1 20 //* Permission is hereby granted, free of charge, to any person
segundo 0:d7810ff946c1 21 //* obtaining a copy of this software and associated documentation
segundo 0:d7810ff946c1 22 //* files (the "Software"), to deal in the Software without restriction,
segundo 0:d7810ff946c1 23 //* including without limitation the rights to use, copy, modify, merge,
segundo 0:d7810ff946c1 24 //* publish, distribute, sublicense, and/or sell copies of the Software,
segundo 0:d7810ff946c1 25 //* and to permit persons to whom the Software is furnished to do so,
segundo 0:d7810ff946c1 26 //* subject to the following conditions:
segundo 0:d7810ff946c1 27 //*
segundo 0:d7810ff946c1 28 //* The above copyright notice and this permission notice shall be included
segundo 0:d7810ff946c1 29 //* in all copies or substantial portions of the Software.
segundo 0:d7810ff946c1 30 //*
segundo 0:d7810ff946c1 31 //* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
segundo 0:d7810ff946c1 32 //* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
segundo 0:d7810ff946c1 33 //* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
segundo 0:d7810ff946c1 34 //* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
segundo 0:d7810ff946c1 35 //* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
segundo 0:d7810ff946c1 36 //* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
segundo 0:d7810ff946c1 37 //* THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
segundo 0:d7810ff946c1 38 //*
segundo 0:d7810ff946c1 39 //* =================================================================
segundo 0:d7810ff946c1 40 //* See http://scmrtos.sourceforge.net for documentation, latest
segundo 0:d7810ff946c1 41 //* information, license and contact details.
segundo 0:d7810ff946c1 42 //* =================================================================
segundo 0:d7810ff946c1 43 //*
segundo 0:d7810ff946c1 44 //******************************************************************************
segundo 0:d7810ff946c1 45 //* Ported by Andrey Chuikin, Copyright (c) 2008-2010
segundo 0:d7810ff946c1 46
segundo 0:d7810ff946c1 47
segundo 0:d7810ff946c1 48 #ifndef COMMONDEFS_H
segundo 0:d7810ff946c1 49 #define COMMONDEFS_H
segundo 0:d7810ff946c1 50
segundo 0:d7810ff946c1 51 #define DEBUG_STACK
segundo 0:d7810ff946c1 52 #ifdef DEBUG_STACK
segundo 0:d7810ff946c1 53 #define STACK_FILL_CONST 0xFFF7FFFF
segundo 0:d7810ff946c1 54 #endif
segundo 0:d7810ff946c1 55
segundo 0:d7810ff946c1 56 #ifndef __IAR_SYSTEMS_ASM__
segundo 0:d7810ff946c1 57
segundo 0:d7810ff946c1 58 typedef unsigned char byte;
segundo 0:d7810ff946c1 59 typedef signed char sbyte;
segundo 0:d7810ff946c1 60 typedef unsigned short word;
segundo 0:d7810ff946c1 61 typedef unsigned long dword;
segundo 0:d7810ff946c1 62
segundo 0:d7810ff946c1 63 typedef volatile byte sfr_byte;
segundo 0:d7810ff946c1 64 typedef volatile word sfr_word;
segundo 0:d7810ff946c1 65 typedef volatile dword sfr_dword;
segundo 0:d7810ff946c1 66
segundo 0:d7810ff946c1 67 #define INLINE _Pragma("inline=forced")
segundo 0:d7810ff946c1 68
segundo 0:d7810ff946c1 69 #endif // __IAR_SYSTEMS_ASM__
segundo 0:d7810ff946c1 70
segundo 0:d7810ff946c1 71 #endif // COMMONDEFS_H
segundo 0:d7810ff946c1 72
segundo 0:d7810ff946c1 73 //-----------------------------------------------------------------------------
segundo 0:d7810ff946c1 74
segundo 0:d7810ff946c1 75 /*============================================================================*/
segundo 0:d7810ff946c1 76