SmartSnippets DA1459x SDK
Typedefs | Functions
hw_cache.h File Reference

Definition of API for the iCache Controller Low Level Driver. More...

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

Go to the source code of this file.

Typedefs

typedef void(* hw_cache_mrm_cb_t) (void)
 Application defined callback for the MRM interrupt. More...
 

Functions

__STATIC_INLINE void hw_cache_mrm_set_misses_thres (uint32_t thres)
 Set the cache MRM interrupt threshold for misses. More...
 
__STATIC_INLINE uint32_t hw_cache_mrm_get_misses_thres (void)
 Get the cache MRM interrupt threshold for misses. More...
 
__STATIC_INLINE void hw_cache_mrm_set_hits_thres (uint32_t thres)
 Set the cache MRM interrupt threshold for hits. More...
 
__STATIC_INLINE uint32_t hw_cache_mrm_get_hits_thres (void)
 Get the cache MRM interrupt threshold for hits. More...
 
__STATIC_INLINE bool hw_cache_mrm_get_misses_thres_status (void)
 Get the cache MRM misses threshold IRQ status. More...
 
__STATIC_INLINE void hw_cache_mrm_clr_misses_thres_status (void)
 Clear the cache MRM misses threshold IRQ status. More...
 
__STATIC_INLINE bool hw_cache_mrm_get_hits_thres_status (void)
 Get the cache MRM hits threshold IRQ status. More...
 
__STATIC_INLINE void hw_cache_mrm_clr_hits_thres_status (void)
 Clear the cache MRM hits threshold IRQ status. More...
 
__STATIC_INLINE void hw_cache_mrm_set_tint (uint32_t tint)
 Set the cache MRM monitoring time interval. More...
 
__STATIC_INLINE uint32_t hw_cache_mrm_get_tint (void)
 Get the cache MRM monitoring time interval. More...
 
__STATIC_INLINE bool hw_cache_mrm_get_tint_status (void)
 Get the cache MRM timer interval IRQ status. More...
 
__STATIC_INLINE void hw_cache_mrm_clr_tint_status (void)
 Clear the cache MRM timer interval IRQ status. More...
 
__STATIC_INLINE void hw_cache_mrm_start_counters (void)
 Start MRM counters. More...
 
__STATIC_INLINE void hw_cache_mrm_freeze_counters (void)
 Freeze MRM counters. More...
 
__STATIC_INLINE uint32_t hw_cache_mrm_get_misses (void)
 Get the cache MRM misses number. More...
 
__STATIC_INLINE void hw_cache_mrm_set_misses (uint32_t misses)
 Set the cache MRM cache misses number. More...
 
__STATIC_INLINE uint32_t hw_cache_mrm_get_hits (void)
 Get the cache MRM cache hits number. More...
 
__STATIC_INLINE void hw_cache_mrm_set_hits (uint32_t hits)
 Set the cache MRM cache hits number. More...
 
void hw_cache_mrm_enable_interrupt (hw_cache_mrm_cb_t cb)
 Enable the MRM interrupt generation. More...
 
void hw_cache_mrm_disable_interrupt (void)
 Disable the MRM interrupt generation. More...
 

Detailed Description

Definition of API for the iCache Controller Low Level Driver.

Copyright (C) 2015-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.