#include "config.h"
Go to the source code of this file.
Defines | |
#define | FLASH_BLANK_VALUE 0xFF |
Functions | |
void | flash_wr_byte (Uint32 addr_byte, Uchar value) |
This function allows to write a byte in the flash memory. | |
Uchar | flash_wr_block (Byte _MemType_ *src, Uint32 dst, Uchar n) |
This function allows to write up to 256 bytes in the flash memory. This function manages alignement issue. | |
void | flash_erase (void) |
This function erases the whole flash memory. | |
Uchar | flash_rd_byte (Uchar code *addr) |
This function allows to read a byte in the flash memory. | |
Uint16 | flash_rd_word (Uint16 code *addr) |
This function allows to read a word in the flash memory. |
|
Definition at line 26 of file flash_lib.h. |
|
This function erases the whole flash memory.
Definition at line 148 of file flash_lib.c. |
|
This function allows to read a byte in the flash memory.
Definition at line 165 of file flash_lib.c. Referenced by flash_rd_word(), and flash_wr_block(). |
|
This function allows to read a word in the flash memory.
Definition at line 176 of file flash_lib.c. References flash_rd_byte(). Referenced by flash_wr_block(). |
|
This function allows to write up to 256 bytes in the flash memory. This function manages alignement issue.
Definition at line 42 of file flash_lib.c. References flash_rd_byte(), and flash_rd_word(). Referenced by flash_wr_byte(). |
|
This function allows to write a byte in the flash memory.
Definition at line 33 of file flash_lib.c. References flash_wr_block(). |