Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00018 #ifndef FLASH_H__
00019 #define FLASH_H__
00020 
00021 #include <stdint.h>
00022 #include <stdbool.h>
00023 
00027 void flash_page_erase(uint8_t pn);
00028 
00034 void flash_bytes_write(uint16_t a, uint8_t xdata*p, uint16_t n);
00035 
00040 void flash_byte_write(uint16_t a, uint8_t b);
00041 
00047 void flash_bytes_read(uint16_t a, uint8_t xdata *p, uint16_t n);
00048 
00049 #endif  // FLASH_H__