Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

sramsw.h

Go to the documentation of this file.
00001 /*! \file sramsw.h \brief Software-driven SRAM memory bus access functions. */
00002 //*****************************************************************************
00003 //
00004 // File Name    : 'sramsw.h'
00005 // Title        : Software-driven SRAM memory bus access functions
00006 // Author       : Pascal Stang - Copyright (C) 2002
00007 // Created      : 11/11/2002
00008 // Revised      : 11/13/2002
00009 // Version      : 1.0
00010 // Target MCU   : Atmel AVR series
00011 // Editor Tabs  : 4
00012 //
00013 // This code is distributed under the GNU Public License
00014 //      which can be found at http://www.gnu.org/licenses/gpl.txt
00015 //
00016 //*****************************************************************************
00017 
00018 #ifndef SRAMSW_H
00019 #define SRAMSW_H
00020 
00021 #include "global.h"
00022 // include project-dependent configurations
00023 // sramswconf.h allows the user to choose which ports
00024 // and pins are used in the memory bus
00025 #include "sramswconf.h"
00026 
00027 // function prototypes
00028 
00029 //! Initialize the memory bus
00030 void sramswInit(void);
00031 //! Write data using the memory bus
00032 void sramswWrite(u32 addr, u08 data);
00033 //! Read data using the memory bus
00034 u08 sramswRead(u32 addr);
00035 //! Set memory page
00036 void sramswSetPage(u08 page);
00037 
00038 #endif

Generated on Sun Oct 29 03:41:07 2006 for Procyon AVRlib by  doxygen 1.4.2