Home
last modified time | relevance | path

Searched refs:regs_to_protect (Results 1 – 5 of 5) sorted by relevance

/hal_renesas-latest/drivers/rz/fsp/src/rzn/bsp/mcu/all/
Dbsp_register_protection.c58 void R_BSP_RegisterProtectEnable (bsp_reg_protect_t regs_to_protect) in R_BSP_RegisterProtectEnable() argument
61 if (0U != g_protect_counters[regs_to_protect]) in R_BSP_RegisterProtectEnable()
64 g_protect_counters[regs_to_protect]--; in R_BSP_RegisterProtectEnable()
68 if (0U == g_protect_counters[regs_to_protect]) in R_BSP_RegisterProtectEnable()
74 …P_NS->PRCRN = ((R_RWP_NS->PRCRN | BSP_PRV_PRCR_KEY) & (uint16_t) (~g_prcr_masks[regs_to_protect])); in R_BSP_RegisterProtectEnable()
75 …WP_S->PRCRS = ((R_RWP_S->PRCRS | BSP_PRV_PRCR_KEY) & (uint16_t) (~g_prcr_masks[regs_to_protect])); in R_BSP_RegisterProtectEnable()
Dbsp_mcu_api.h38 void R_BSP_RegisterProtectEnable(bsp_reg_protect_t regs_to_protect);
/hal_renesas-latest/drivers/ra/fsp/src/bsp/mcu/all/
Dbsp_register_protection.c55 BSP_SECTION_FLASH_GAP void R_BSP_RegisterProtectEnable (bsp_reg_protect_t regs_to_protect) in R_BSP_RegisterProtectEnable() argument
62 if (0U != g_protect_counters[regs_to_protect]) in R_BSP_RegisterProtectEnable()
65 g_protect_counters[regs_to_protect]--; in R_BSP_RegisterProtectEnable()
69 if (0U == g_protect_counters[regs_to_protect]) in R_BSP_RegisterProtectEnable()
76 …->PRCR_NS = ((R_SYSTEM->PRCR_NS | BSP_PRV_PRCR_KEY) & (uint16_t) (~g_prcr_masks[regs_to_protect])); in R_BSP_RegisterProtectEnable()
78 …SYSTEM->PRCR = ((R_SYSTEM->PRCR | BSP_PRV_PRCR_KEY) & (uint16_t) (~g_prcr_masks[regs_to_protect])); in R_BSP_RegisterProtectEnable()
Dbsp_mcu_api.h47 void R_BSP_RegisterProtectEnable(bsp_reg_protect_t regs_to_protect);
/hal_renesas-latest/zephyr/ra/portable/
Dbsp_security.h30 void R_BSP_RegisterProtectEnable (bsp_reg_protect_t regs_to_protect);