Infineon Logo AIROC BTSDK v4.8 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_hal_eflash.h File Reference

List of parameters and defined functions needed to access the Embedded Flash interface driver. More...

Macros

#define FLASH_SECTOR_SIZE   (0x200u)
 819 uses 512 byte sector, 256KB on chip flash.
 
#define FLASH_SIZE   0x40000
 
#define FLASH_BASE_ADDRESS   (0x500000u)
 
#define APPLICATION_SPECIFIC_FLASH_RESERVATION   0
 Number of sectors reserved from the end of the flash for the application specific purpose (for ex: to log the crash dump). More...
 

Functions

wiced_result_t wiced_hal_eflash_init (void)
 Initializes the embedded flash. More...
 
wiced_result_t wiced_hal_eflash_read (uint32_t offset, uint8_t *p_buffer, uint32_t length)
 Reads the data from eflash. More...
 
wiced_result_t wiced_hal_eflash_write (uint32_t offset, uint8_t *p_buffer, uint32_t length)
 Writes the data to eflash. More...
 
wiced_result_t wiced_hal_eflash_erase (uint32_t offset, uint32_t length)
 Erase the eflash. More...
 
wiced_result_t wiced_hal_eflash_erase_whole (void)
 Erase the whole eflash. More...
 
uint32_t wiced_hal_eflash_get_size (void)
 Gets the size of the eflash. More...
 

Detailed Description

List of parameters and defined functions needed to access the Embedded Flash interface driver.