monoZ docs
|
This file contains the monoZ flash structure and also responsible for flash initialization, flash storage and flash erase. More...
#include "MZ_BoardCfg.h"
#include "MZ_common.h"
#include "MZ_sys_cmsis_os2.h"
#include "MZ_error_handler.h"
Go to the source code of this file.
Data Structures | |
struct | st_mz_flash |
Structure for monoZ Flash. More... | |
Enumerations | |
enum | en_mz_fl_op { MZ_FL_NOT_READY , MZ_FL_READY , MZ_FL_WRITE } |
Enables the monoZ flash operations. More... | |
Functions | |
mz_error_t | mz_f_init (st_mz_flash *_ctx, mzUint32 _addr, mzUint32 _n_page) |
This function to initialize the flash. More... | |
mz_error_t | mz_f_store (st_mz_flash *_ctx, mzUint32 Write_addr, const void *data, mzUint32 size) |
This function is used to write and store the data in flash memory. More... | |
mz_error_t | mz_f_erase_full (st_mz_flash *_ctx) |
This function erases full flash memory. More... | |
mz_error_t | mz_f_erase_ctx_relative_page_no (st_mz_flash *_ctx, mzUint32 page_no) |
This function erases particular page in flash memory. More... | |
This file contains the monoZ flash structure and also responsible for flash initialization, flash storage and flash erase.
Definition in file MZ_flash.h.
enum en_mz_fl_op |
Enables the monoZ flash operations.
Enumerator | |
---|---|
MZ_FL_NOT_READY | monoZ flash driver is not Ready |
MZ_FL_READY | monoZ flash driver is Ready |
MZ_FL_WRITE | monoZ flash write |
Definition at line 25 of file MZ_flash.h.