SmartSnippets DA1459x SDK
Functions

Access EFLASH device when running in auto mode. More...

#include "hw_fcu.h"
#include <sdk_defs.h>

Go to the source code of this file.

Functions

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. More...
 
__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. More...
 
__RETAINED_CODE bool eflash_automode_is_valid_virtual_addr (uint32_t addr)
 Verify if given virtual address points to EFLASH memory. More...
 
__ALWAYS_RETAINED_CODE void eflash_automode_wakeup (void)
 Wakeup EFLASH. More...
 
__ALWAYS_RETAINED_CODE void eflash_automode_sleep (void)
 Sef EFLASH to sleep mode. More...
 
uint32_t eflash_automode_read (uint32_t addr, uint8_t *buf, uint32_t len)
 Read data from EFLASH memory. More...
 
__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. More...
 
__ALWAYS_RETAINED_CODE bool eflash_automode_erase_sector (uint32_t addr)
 Erase EFLASH sector. More...
 
__RETAINED_CODE bool eflash_automode_erase_chip (void)
 Erase chip. More...
 

Detailed Description

Access EFLASH device when running in auto mode.

Copyright (C) 2020-2023 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.

This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.

THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.