WE310F5  39.00.000
m2mb_flash.h File Reference

This file contains the public APIs and structures of the flash access module. More...

Go to the source code of this file.

Data Structures

struct  M2MB_FLASH_INFO
 
#define M2MB_FLASH_PARTITION_ALL   0x7FFF
 
typedef struct M2MB_FLASH_INFO M2MB_FLASH_INFO_T
 
INT32 m2mb_flash_open (UINT32 partition_id, HANDLE *handle)
 m2mb_flash_open opens handle to a flash partition. More...
 
INT32 m2mb_flash_close (HANDLE handle)
 m2mb_flash_close Closes handle to a flash partition. More...
 
INT32 m2mb_flash_get_info (HANDLE handle, M2MB_FLASH_INFO_T *flash_info)
 m2mb_flash_get_info Gets flash device information. More...
 
INT32 m2mb_flash_erase (HANDLE handle, UINT32 start_block, UINT32 block_count)
 m2mb_flash_erase erases given flash blocks. More...
 
INT32 m2mb_flash_write (HANDLE handle, UINT32 byte_offset, UINT32 byte_count, void *buffer)
 m2mb_flash_write writes to the flash. More...
 
INT32 m2mb_flash_read (HANDLE handle, UINT32 byte_offset, UINT32 byte_count, void *buffer)
 m2mb_flash_read to read the flash. More...
 
INT32 m2mb_flash_erase_bulk (HANDLE handle, UINT32 start_block, UINT32 block_count)
 m2mb_flash_erase_bulk Erases given flash blocks of specified block size. More...
 

Detailed Description

This file contains the public APIs and structures of the flash access module.

we866e4/epl/inc/modules/m2mb_flash.h

Note
<Notes, dependencies mandatory> Dependencies:
Author
SP
Date
27/02/2019

Definition in file m2mb_flash.h.