|
SmartSnippets DA1459x SDK
|
Definition of DA1459x specific API for the iCache Controller Low Level Driver. More...
#include <sdk_defs.h>Go to the source code of this file.
Enumerations | |
| enum | HW_CACHE_EFLASH_REGION_SZ |
| Cacheable eflash Region Sizes as defined in DA1459x datasheet. More... | |
| enum | HW_CACHE_FLASH_REGION_SZ |
| Cacheable flash Region Sizes as defined in DA1459x datasheet. More... | |
Functions | |
| __STATIC_INLINE void | hw_cache_enable () |
| Enables the iCache Controller. More... | |
| __STATIC_INLINE void | hw_cache_disable () |
| Disables the iCache Controller. More... | |
| __STATIC_INLINE bool | hw_cache_is_enabled () |
| Checks if the iCache Controller is enabled. More... | |
| __STATIC_INLINE void | hw_cache_set_extflash_cacheable_len (uint32_t len) |
| Set the external (QSPI) flash cacheable memory length. More... | |
| __STATIC_INLINE int | hw_cache_get_extflash_cacheable_len (void) |
| Get the external (QSPI) flash cacheable memory length. More... | |
| __STATIC_INLINE void | hw_cache_set_eflash_cacheable_len (uint32_t len) |
| Set the eflash cacheable memory length. More... | |
| __STATIC_INLINE int | hw_cache_get_eflash_cacheable_len (void) |
| Get the eflash cacheable memory length. More... | |
| __STATIC_INLINE void | hw_cache_set_len (uint32_t len) |
| Set the cacheable memory length. Backwards compatibility wrapper. More... | |
| __STATIC_INLINE int | hw_cache_get_len (void) |
| Get the cacheable memory length. Backwards compatibility wrapper. More... | |
| __STATIC_INLINE void | hw_cache_enable_flushing (void) |
| Enable flushing the iCache Controller (cache RAM cells) contents. For debugging only. | |
| __STATIC_INLINE void | hw_cache_disable_flushing (void) |
| Disable flushing the iCache Controller (cache RAM cells) contents. For debugging only. | |
| __STATIC_INLINE bool | hw_cache_is_flushing_disabled () |
| Checks if the iCache Controller flushing is disabled. For debugging only. More... | |
| __STATIC_INLINE void | hw_cache_flush (void) |
| Flush the cache contents. More... | |
| __STATIC_INLINE void | hw_cache_eflash_set_region_base (eflash_region_base_t base) |
| Set the eflash region base. More... | |
| __STATIC_INLINE eflash_region_base_t | hw_cache_eflash_get_region_base (void) |
| Get the eflash region base. More... | |
| __STATIC_INLINE void | hw_cache_eflash_set_region_offset (eflash_region_offset_t offset) |
| Set the eflash region offset. More... | |
| __STATIC_INLINE eflash_region_offset_t | hw_cache_eflash_get_region_offset (void) |
| Get the eflash region offset. More... | |
| __STATIC_INLINE void | hw_cache_eflash_set_region_size (HW_CACHE_EFLASH_REGION_SZ sz) |
| Set the eflash region size. More... | |
| __STATIC_INLINE HW_CACHE_EFLASH_REGION_SZ | hw_cache_eflash_get_region_size (void) |
| Get the eflash region size. More... | |
| __STATIC_INLINE void | hw_cache_eflash_configure_region (eflash_region_base_t base, eflash_region_offset_t offset, HW_CACHE_EFLASH_REGION_SZ sz) |
| Configure the eflash memory region that will be cacheable. More... | |
| __STATIC_INLINE void | hw_cache_flash_set_region_base (flash_region_base_t base) |
| Set the flash region base. More... | |
| __STATIC_INLINE flash_region_base_t | hw_cache_flash_get_region_base (void) |
| Get the flash region base. More... | |
| __STATIC_INLINE void | hw_cache_flash_set_region_offset (flash_region_offset_t offset) |
| Set the flash region offset. More... | |
| __STATIC_INLINE flash_region_offset_t | hw_cache_flash_get_region_offset (void) |
| Get the flash region offset. More... | |
| __STATIC_INLINE void | hw_cache_flash_set_region_size (HW_CACHE_FLASH_REGION_SZ sz) |
| Set the flash region size. More... | |
| __STATIC_INLINE HW_CACHE_FLASH_REGION_SZ | hw_cache_flash_get_region_size (void) |
| Get the flash region size. More... | |
| __STATIC_INLINE void | hw_cache_flash_configure_region (flash_region_base_t base, flash_region_offset_t offset, HW_CACHE_FLASH_REGION_SZ sz) |
| Configure the flash memory region that will be cacheable. More... | |
| __STATIC_INLINE uint32_t | hw_cache_mrm_get_hits_with_one_wait_state (void) |
| Get the cache MRM hits with 1 Wait State number. More... | |
| __STATIC_INLINE void | hw_cache_mrm_set_hits_with_one_wait_state (uint32_t hits) |
| Set the cache MRM hits with 1 Wait State number. More... | |
Definition of DA1459x specific API for the iCache Controller Low Level Driver.
Copyright (C) 2020 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.
1.8.16