plf_io.h

Go to the documentation of this file.
00001 #ifndef CYGONCE_PLF_IO_H
00002 #define CYGONCE_PLF_IO_H
00003 
00004 //=============================================================================
00005 //
00006 //      plf_io.h
00007 //
00008 //      Platform specific IO support
00009 //
00010 //=============================================================================
00011 //####ECOSGPLCOPYRIGHTBEGIN####
00012 // -------------------------------------------
00013 // This file is part of eCos, the Embedded Configurable Operating System.
00014 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
00015 //
00016 // eCos is free software; you can redistribute it and/or modify it under
00017 // the terms of the GNU General Public License as published by the Free
00018 // Software Foundation; either version 2 or (at your option) any later version.
00019 //
00020 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
00021 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
00022 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00023 // for more details.
00024 //
00025 // You should have received a copy of the GNU General Public License along
00026 // with eCos; if not, write to the Free Software Foundation, Inc.,
00027 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
00028 //
00029 // As a special exception, if other files instantiate templates or use macros
00030 // or inline functions from this file, or you compile this file and link it
00031 // with other works to produce a work based on this file, this file does not
00032 // by itself cause the resulting work to be covered by the GNU General Public
00033 // License. However the source code for this file must still be made available
00034 // in accordance with section (3) of the GNU General Public License.
00035 //
00036 // This exception does not invalidate any other reasons why a work based on
00037 // this file might be covered by the GNU General Public License.
00038 //
00039 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
00040 // at http://sources.redhat.com/ecos/ecos-license/
00041 // -------------------------------------------
00042 //####ECOSGPLCOPYRIGHTEND####
00043 //=============================================================================
00044 //#####DESCRIPTIONBEGIN####
00045 //
00046 // Author(s):    jskov 
00047 // Contributors: jskov, Uwe Kindler
00048 // Date:         2004-01-04
00049 // Purpose:      IO support macros
00050 // Description: 
00051 // Usage:        #include <cyg/hal/plf_io.h>
00052 //
00053 //####DESCRIPTIONEND####
00054 //
00055 //=============================================================================
00056 
00057 
00058 //=============================================================================
00059 //                            DOXYGEN FILE HEADER
00066 //=============================================================================
00067 
00068 
00069 //=============================================================================
00070 //                                    DEFINES
00071 //=============================================================================
00072 
00073 //--------------------------------------------------------------------------
00074 //                         PORT 3 REGISTER BIT DEFINITIONS
00075 //
00076 #define CYGARC_P3_MON_EN       0x01 // Monitor enable, Active low, Enables monitor functions embedded in software
00077 #define CYGARC_P3_I2C_SCL      0x02 // I2C bus serial clock for RTC
00078 #define CYGARC_P3_I2C_SDA      0x04 // I2C bus serial data signal to/from RTC
00079 #define CYGARC_P3_MFLASH_PAGE  0x08 // Main Flash page select, used in boot mode only, Low - page 0, High - page 1
00080 #define CYGARC_P3_SDRAM_CS     0x10 // SDRAM chip select, Active Low, Enables SRAM device
00081 #define CYGARC_P3_SDRAM_CKE    0x20 // SDRAM clock enable, Active low, Enables the SDRAM clock input
00082 
00083 //-----------------------------------------------------------------------------
00084 // end of plf_io.h
00085 #endif // CYGONCE_PLF_IO_H

Generated on Tue Feb 17 09:06:13 2004 for eCos EDOSK-2674 HAL by doxygen 1.3.5