flashc.h

Go to the documentation of this file.
00001 #ifndef _ARCH_AVR32_FLASHC_H_
00002 #define _ARCH_AVR32_FLASHC_H_
00003 
00039 #include <sys/types.h>
00040 
00041 __BEGIN_DECLS
00042 /* Prototypes */
00043 
00044 extern int Avr32FlashcSectorErase(unsigned int off);
00045 extern int Avr32FlashcSectorRead(unsigned int off, void *data, unsigned int len);
00046 extern int Avr32FlashcSectorWrite(unsigned int off, CONST void *data, unsigned int len);
00047 
00048 extern int Avr32FlashcRegionLock(unsigned int off);
00049 extern int Avr32FlashcRegionUnlock(unsigned int off);
00050 
00051 extern int Avr32FlashcParamRead(unsigned int pos, void *data, unsigned int len);
00052 extern int Avr32FlashcParamWrite(unsigned int pos, CONST void *data, unsigned int len);
00053 
00054 __END_DECLS
00055 /* End of prototypes */
00056 #endif

© 2000-2010 by contributors - visit http://www.ethernut.de/