Main Page | File List | Globals

flash_lib.h

Go to the documentation of this file.
00001 
00015 #ifndef FLASH_LIB_H
00016 #define FLASH_LIB_H
00017 
00018 
00019 /*_____ I N C L U D E S ____________________________________________________*/
00020 
00021 #include "config.h"
00022 
00023 /*_____ M A C R O S ________________________________________________________*/
00024 
00025 /*_____ D E F I N I T I O N S ______________________________________________*/
00026 #define FLASH_BLANK_VALUE   0xFF
00027 
00028 
00029 /*_____ D E C L A R A T I O N S ____________________________________________*/
00030 
00038 extern void flash_wr_byte(Uint32 addr_byte, Uchar value);
00039 
00049 extern Uchar flash_wr_block(Byte _MemType_* src, Uint32 dst, Uchar n);
00050 
00055 extern void flash_erase(void);
00056  
00064 extern Uchar flash_rd_byte(Uchar code* addr);
00065 
00073 extern Uint16 flash_rd_word(Uint16 code* addr);
00074 
00075 #endif  /* FLASH_LIB_H */
00076 
00077 
00078 
00079 
00080 
00081 
00082 
00083 
00084 
00085 
00086 
00087 
00088 
00089 

Generated on Thu Apr 1 15:59:37 2004 for Flash Library by doxygen 1.3.6