|
SmartSnippets DA1459x SDK
|
Go to the documentation of this file.
42 #ifndef EFLASH_AUTOMODE_H_
43 #define EFLASH_AUTOMODE_H_
51 #define EFLASH_SECTOR_SIZE (HW_FCU_FLASH_PAGE_SIZE_IN_BYTES)
__RETAINED_CODE bool eflash_automode_is_valid_virtual_addr(uint32_t addr)
Verify if given virtual address points to EFLASH memory.
Central include header file with platform definitions.
const __RETAINED_CODE void * eflash_automode_get_physical_addr(uint32_t virtual_addr)
Get the physical address of eFlash memory for the given virtual address.
__ALWAYS_RETAINED_CODE uint32_t eflash_automode_write_page(uint32_t addr, const uint8_t *buf, uint32_t len)
Write data to EFLASH memory page.
Definition of API for the FCU Low Level Driver.
__ALWAYS_RETAINED_CODE void eflash_automode_wakeup(void)
Wakeup EFLASH.
__RETAINED_CODE bool eflash_automode_erase_chip(void)
Erase chip.
__ALWAYS_RETAINED_CODE void eflash_automode_sleep(void)
Sef EFLASH to sleep mode.
__ALWAYS_RETAINED_CODE bool eflash_automode_erase_sector(uint32_t addr)
Erase EFLASH sector.
uint32_t eflash_automode_read(uint32_t addr, uint8_t *buf, uint32_t len)
Read data from EFLASH memory.
__RETAINED_CODE bool eflash_automode_is_valid_virtual_address_range(uint32_t addr, uint32_t len)
Check if the virtual address range from addr to addr + len is valid.