-For monoZ Flash APIs refer MZ_flash.h file.
More...
-For monoZ Flash APIs refer MZ_flash.h file.
◆ mz_f_init()
This function to initialize the flash.
Flash size mentioned shall be multiples of 8 bytes.
- Parameters
-
_ctx | *st_mz_flash |
_addr | mzUint32 |
_n_page | mzUint32 |
- Returns
- MZ_OK/MZ_FAIL
◆ mz_f_store()
This function is used to write and store the data in flash memory.
- Parameters
-
_ctx | *st_mz_flash |
Write_addr | mzUint32 |
data | const void* |
size | mzUint32- size should be in the multiples of 8. |
- Returns
- MZ_OK/MZ_FAIL
◆ mz_f_erase_full()
This function erases full flash memory.
- Parameters
-
- Returns
- MZ_OK/MZ_FAIL
◆ mz_f_erase_ctx_relative_page_no()
This function erases particular page in flash memory.
- Parameters
-
- Returns
- MZ_OK/MZ_FAIL