#include <stdint.h>
#include "hpm_common.h"
#include "hpm_romapi.h"
Go to the source code of this file.
|
| #define | E2P_ATTR ATTR_RAMFUNC |
| | eeprom emulation default in ram, avoid flash crash More...
|
| |
◆ E2P_ATTR
| #define E2P_ATTR ATTR_RAMFUNC |
eeprom emulation default in ram, avoid flash crash
◆ nor_flash_erase()
hpm nor-flash erase function
- Parameters
-
| [in] | cfg | config_context |
| [in] | start_addr | erase physical start addr |
| [in] | size | erase bytes size |
◆ nor_flash_init()
hpm nor-flash initialization
- Parameters
-
- Returns
- hpm_stat_t
◆ nor_flash_read()
hpm nor-flash read function
- Parameters
-
| [in] | cfg | config_context |
| [out] | buf | store read data |
| [in] | addr | read physical start addr |
| [in] | size | read bytes size |
- Returns
- hpm_stat_t
◆ nor_flash_write()
hpm nor-flash write function
- Parameters
-
| [in] | cfg | config_context |
| [in] | buf | data to be written |
| [in] | addr | write physical start addr |
| [in] | size | write bytes size |
- Returns
- hpm_stat_t