kasturi rangan raghavan / Mbed 2 deprecated QRS_cpp

Dependencies:   mbed

Committer:
kasturir
Date:
Mon Sep 27 22:51:19 2010 +0000
Revision:
0:906c21fbf97c

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kasturir 0:906c21fbf97c 1 //******************************************************************************
kasturir 0:906c21fbf97c 2 //*
kasturir 0:906c21fbf97c 3 //* FULLNAME: Single-Chip Microcontroller Real-Time Operating System
kasturir 0:906c21fbf97c 4 //*
kasturir 0:906c21fbf97c 5 //* NICKNAME: scmRTOS
kasturir 0:906c21fbf97c 6 //*
kasturir 0:906c21fbf97c 7 //* PROCESSOR: ARM Cortex-M3
kasturir 0:906c21fbf97c 8 //*
kasturir 0:906c21fbf97c 9 //* TOOLKIT: EWARM (IAR Systems)
kasturir 0:906c21fbf97c 10 //*
kasturir 0:906c21fbf97c 11 //* PURPOSE: Device Definitions
kasturir 0:906c21fbf97c 12 //*
kasturir 0:906c21fbf97c 13 //* Version: 3.10
kasturir 0:906c21fbf97c 14 //*
kasturir 0:906c21fbf97c 15 //* $Revision: 196 $
kasturir 0:906c21fbf97c 16 //* $Date:: 2008-06-19 #$
kasturir 0:906c21fbf97c 17 //*
kasturir 0:906c21fbf97c 18 //* Copyright (c) 2003-2010, Harry E. Zhurov
kasturir 0:906c21fbf97c 19 //*
kasturir 0:906c21fbf97c 20 //* Permission is hereby granted, free of charge, to any person
kasturir 0:906c21fbf97c 21 //* obtaining a copy of this software and associated documentation
kasturir 0:906c21fbf97c 22 //* files (the "Software"), to deal in the Software without restriction,
kasturir 0:906c21fbf97c 23 //* including without limitation the rights to use, copy, modify, merge,
kasturir 0:906c21fbf97c 24 //* publish, distribute, sublicense, and/or sell copies of the Software,
kasturir 0:906c21fbf97c 25 //* and to permit persons to whom the Software is furnished to do so,
kasturir 0:906c21fbf97c 26 //* subject to the following conditions:
kasturir 0:906c21fbf97c 27 //*
kasturir 0:906c21fbf97c 28 //* The above copyright notice and this permission notice shall be included
kasturir 0:906c21fbf97c 29 //* in all copies or substantial portions of the Software.
kasturir 0:906c21fbf97c 30 //*
kasturir 0:906c21fbf97c 31 //* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
kasturir 0:906c21fbf97c 32 //* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
kasturir 0:906c21fbf97c 33 //* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
kasturir 0:906c21fbf97c 34 //* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
kasturir 0:906c21fbf97c 35 //* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
kasturir 0:906c21fbf97c 36 //* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
kasturir 0:906c21fbf97c 37 //* THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
kasturir 0:906c21fbf97c 38 //*
kasturir 0:906c21fbf97c 39 //* =================================================================
kasturir 0:906c21fbf97c 40 //* See http://scmrtos.sourceforge.net for documentation, latest
kasturir 0:906c21fbf97c 41 //* information, license and contact details.
kasturir 0:906c21fbf97c 42 //* =================================================================
kasturir 0:906c21fbf97c 43 //*
kasturir 0:906c21fbf97c 44 //******************************************************************************
kasturir 0:906c21fbf97c 45 //* Ported by Andrey Chuikin, Copyright (c) 2008-2010
kasturir 0:906c21fbf97c 46
kasturir 0:906c21fbf97c 47 #ifndef DEVICE_H
kasturir 0:906c21fbf97c 48 #define DEVICE_H
kasturir 0:906c21fbf97c 49
kasturir 0:906c21fbf97c 50 #include <commdefs.h>
kasturir 0:906c21fbf97c 51
kasturir 0:906c21fbf97c 52 //------------------------------------------------------------------------------
kasturir 0:906c21fbf97c 53 // Definitions for some processor registers in order to not include specific
kasturir 0:906c21fbf97c 54 // header file for various Cortex-M3 processor derivatives.
kasturir 0:906c21fbf97c 55 #define CPU_ICSR ( ( sfr_dword *) 0xE000ED04 ) // Interrupt Control State Register
kasturir 0:906c21fbf97c 56 #define CPU_SYSTICKCSR ( ( sfr_dword *) 0xE000E010 ) // SysTick Control and Status Register
kasturir 0:906c21fbf97c 57 #define CPU_SYSTICKCSR_EINT 0x02 // Bit for enable/disable SysTick interrupt
kasturir 0:906c21fbf97c 58
kasturir 0:906c21fbf97c 59
kasturir 0:906c21fbf97c 60 #endif /* DEVICE_H */