Dependencies:   EthernetNetIf NetServices mbed HTTPServer

Committer:
etudiant12
Date:
Mon May 23 05:40:11 2011 +0000
Revision:
0:96cf274f19bc

        

Who changed what in which revision?

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