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

# at91flash.h

Go to the documentation of this file.

    00001 /*! \file at91flash.h \brief Internal FLASH Write Routines for Atmel AT91. */
    00002 //*****************************************************************************
    00003 //
    00004 // File Name    : 'at91flash.h'
    00005 // Title        : Internal FLASH Write Routines for Atmel AT91
    00006 // Author       : Pascal Stang - Copyright (C) 2006
    00007 // Created      : 9/20/2006
    00008 // Revised      : 9/25/2006
    00009 // Version      : 0.1
    00010 // Target MCU   : Atmel AT91 series
    00011 // Editor Tabs  : 4
    00012 //
    00013 /// \ingroup driver_arm_at91
    00014 /// \defgroup flash_at91 Internal FLASH Write Routines for Atmel AT91 (armlib/arch/at91/at91flash.c)
    00015 /// \code #include "at91flash.h" \endcode
    00016 /// \par Overview
    00017 ///     To be written...
    00018 //
    00019 // This code is distributed under the GNU Public License
    00020 //      which can be found at http://www.gnu.org/licenses/gpl.txt
    00021 //
    00022 //*****************************************************************************
    00023 //@{
    00024
    00025 #ifndef ARMLIB_AT91FLASH_H
    00026 #define ARMLIB_AT91FLASH_H
    00027
    00028 #include "global.h"
    00029
    00030 void at91flashInit(void);
    00031 void at91flashWrite(uint32_t flashaddr, uint8_t* buffer, uint32_t len);
    00032 void at91flashWritePage(uint32_t flashaddr, uint8_t* buffer, uint32_t len);
    00033 void at91flashErase(void);
    00034 int at91flashGetLock(uint32_t flashaddr);
    00035 void at91flashSetLock(uint32_t flashaddr, int lockstate);
    00036
    00037
    00038 #endif
    00039 //@}