|
SmartSnippets DA1459x SDK
|
Definition of API for the Power Domains Controller Low Level Driver. More...
#include <sdk_defs.h>Go to the source code of this file.
Data Structures | |
| struct | hw_pdc_entry_t |
| PDC entry. More... | |
| struct | hw_pdc_lut_keep_t |
| PDC entries that will be kept after deep sleep. More... | |
Macros | |
| #define | HW_PDC_LUT_ENTRY_FIELD_MASK(field) (PDC_PDC_CTRL0_REG_##field##_Msk) |
| Get the mask of a field of a PDC LUT entry. More... | |
| #define | HW_PDC_LUT_ENTRY_FIELD_POS(field) (PDC_PDC_CTRL0_REG_##field##_Pos) |
| Get the bit position of a field of a PDC LUT entry. More... | |
| #define | HW_PDC_LUT_ENTRY_FIELD_VAL(field, val) (((val) << HW_PDC_LUT_ENTRY_FIELD_POS(field)) & HW_PDC_LUT_ENTRY_FIELD_MASK(field)) |
| Prepare (i.e. shift and mask) a value to be used for a PDC LUT entry field. More... | |
Functions | |
| __STATIC_INLINE uint32_t | hw_pdc_read_entry (uint32_t idx) |
| Read value from specific PDC LUT index. More... | |
| __RETAINED_CODE uint32_t | hw_pdc_add_entry (uint32_t lut_entry) |
| Add a PDC LUT entry dynamically. More... | |
| uint32_t | hw_pdc_remove_entry (uint32_t idx) |
| Remove a dynamically added PDC LUT entry. More... | |
| __STATIC_INLINE uint32_t | hw_pdc_get_pending (void) |
| Get all PDC LUT entries pending for any master. | |
| __STATIC_INLINE uint32_t | hw_pdc_get_pending_cm33 (void) |
| Get all PDC LUT entries pending for CM33. | |
| __STATIC_INLINE uint32_t | hw_pdc_get_pending_cmac (void) |
| Get all PDC LUT entries pending for CMAC. | |
| __STATIC_INLINE void | hw_pdc_acknowledge (uint32_t idx) |
| Acknowledge a PDC LUT entry. More... | |
| void | hw_pdc_write_entry (uint32_t idx, uint32_t value) |
| Write a value in specific PDC LUT index. More... | |
| __STATIC_INLINE HW_PDC_ERROR | hw_pdc_set_pending (uint32_t idx) |
| Set a PDC LUT entry as pending. More... | |
| __STATIC_FORCEINLINE bool | hw_pdc_is_pending (uint32_t idx) |
| Check if a PDC LUT entry is pending. More... | |
| void | hw_pdc_ack_all_pending_cm33 (void) |
| Acknowledge all PDC LUT entries pending for CM33. | |
| void | hw_pdc_lut_reset (void) |
| Reset PDC Lookup table. More... | |
| void | hw_pdc_lut_keep (hw_pdc_lut_keep_t *keep) |
| Keep only the selected PDC Lookup table entries. More... | |
| uint32_t | hw_pdc_find_entry (uint32_t trig_select, uint32_t trig_id, uint32_t wakeup_master, uint32_t flags, uint32_t start) |
| Get the first PDC LUT entry index matching specific criteria. More... | |
| __STATIC_FORCEINLINE void | hw_pdc_set_blocked_triggers (HW_PDC_BLOCKED_TRIG blocked) |
| Set PDC configuration register. More... | |
| __STATIC_FORCEINLINE HW_PDC_BLOCKED_TRIG | hw_pdc_get_blocked_triggers () |
| get PDC configuration register More... | |
Definition of API for the Power Domains Controller Low Level Driver.
Copyright (C) 2017-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.
1.8.16