/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_pwr.c | 542 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV); in HAL_PWR_ConfigAttributes() 547 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV); in HAL_PWR_ConfigAttributes() 557 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in HAL_PWR_ConfigAttributes() 562 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in HAL_PWR_ConfigAttributes() 572 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in HAL_PWR_ConfigAttributes() 576 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in HAL_PWR_ConfigAttributes() 591 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV); in HAL_PWR_ConfigAttributes() 595 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV); in HAL_PWR_ConfigAttributes() 626 attributes = ((PWR->PRIVCFGR & PWR_PRIVCFGR_SPRIV) == 0U) ? PWR_SEC_NPRIV : PWR_SEC_PRIV; in HAL_PWR_GetConfigAttributes() 631 attributes = ((PWR->PRIVCFGR & PWR_PRIVCFGR_NSPRIV) == 0U) ? PWR_NSEC_NPRIV : PWR_NSEC_PRIV; in HAL_PWR_GetConfigAttributes() [all …]
|
D | stm32h5xx_hal_rcc.c | 1740 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in HAL_RCC_ConfigAttributes() 1745 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in HAL_RCC_ConfigAttributes() 1750 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in HAL_RCC_ConfigAttributes() 1755 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in HAL_RCC_ConfigAttributes() 1760 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in HAL_RCC_ConfigAttributes() 1764 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in HAL_RCC_ConfigAttributes() 1780 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_PRIV); in HAL_RCC_ConfigAttributes() 1784 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_PRIV); in HAL_RCC_ConfigAttributes() 1825 attributes = ((RCC->PRIVCFGR & RCC_PRIVCFGR_SPRIV) == 0U) ? RCC_SEC_NPRIV : RCC_SEC_PRIV; in HAL_RCC_GetConfigAttributes() 1830 attributes = ((RCC->PRIVCFGR & RCC_PRIVCFGR_NSPRIV) == 0U) ? RCC_NSEC_NPRIV : RCC_NSEC_PRIV; in HAL_RCC_GetConfigAttributes() [all …]
|
D | stm32h5xx_hal_gtzc.c | 883 WRITE_REG(mpcbb_ptr->PRIVCFGR[i], in HAL_GTZC_MPCBB_ConfigMem() 1006 pMPCBB_desc->AttributeConfig.MPCBB_PrivConfig_array[i] = mpcbb_ptr->PRIVCFGR[i]; in HAL_GTZC_MPCBB_GetConfigMem() 1125 SET_BIT(mpcbb_ptr->PRIVCFGR[offset_reg_start], in HAL_GTZC_MPCBB_ConfigMemAttributes() 1130 CLEAR_BIT(mpcbb_ptr->PRIVCFGR[offset_reg_start], in HAL_GTZC_MPCBB_ConfigMemAttributes() 1249 pMemAttributes[i] |= ((READ_BIT(mpcbb_ptr->PRIVCFGR[offset_reg_start], in HAL_GTZC_MPCBB_GetConfigMemAttributes()
|
D | stm32h5xx_hal_dma.c | 372 CLEAR_BIT(p_dma_instance->PRIVCFGR, (1UL << (GET_DMA_CHANNEL(hdma) & 0x1FU))); in HAL_DMA_DeInit() 1404 p_dma_instance->PRIVCFGR |= channel_idx; in HAL_DMA_ConfigChannelAttributes() 1408 p_dma_instance->PRIVCFGR &= (~channel_idx); in HAL_DMA_ConfigChannelAttributes() 1486 …attributes = ((p_dma_instance->PRIVCFGR & channel_idx) == 0U) ? DMA_CHANNEL_NPRIV : DMA_CHANNEL_PR… in HAL_DMA_GetConfigChannelAttributes()
|
D | stm32h5xx_hal_flash_ex.c | 784 MODIFY_REG(FLASH->PRIVCFGR, (FLASH_PRIVCFGR_SPRIV | FLASH_PRIVCFGR_NSPRIV), PrivMode); in HAL_FLASHEx_ConfigPrivMode() 786 MODIFY_REG(FLASH->PRIVCFGR, FLASH_PRIVCFGR_NSPRIV, PrivMode); in HAL_FLASHEx_ConfigPrivMode() 803 return (FLASH->PRIVCFGR & (FLASH_PRIVCFGR_SPRIV | FLASH_PRIVCFGR_NSPRIV)); in HAL_FLASHEx_GetPrivMode() 805 return (FLASH->PRIVCFGR & FLASH_PRIVCFGR_NSPRIV); in HAL_FLASHEx_GetPrivMode()
|
D | stm32h5xx_hal_otfdec.c | 769 MODIFY_REG(hotfdec->Instance->PRIVCFGR, OTFDEC_PRIVCFGR_PRIV, Attributes); in HAL_OTFDEC_ConfigAttributes() 1048 *Attributes = READ_BIT(hotfdec->Instance->PRIVCFGR, OTFDEC_PRIVCFGR_PRIV); in HAL_OTFDEC_GetConfigAttributes()
|
D | stm32h5xx_hal_rtc_ex.c | 3434 WRITE_REG(RTC->PRIVCFGR, privilegeState->rtcPrivilegeFull | privilegeState->rtcPrivilegeFeatures); in HAL_RTCEx_PrivilegeModeSet() 3440 …WRITE_REG(TAMP->PRIVCFGR, privilegeState->tampPrivilegeFull | privilegeState->backupRegisterPrivZo… in HAL_RTCEx_PrivilegeModeSet() 3471 uint32_t rtc_privcfgr = READ_REG(RTC->PRIVCFGR); in HAL_RTCEx_PrivilegeModeGet() 3472 uint32_t tamp_privcfgr = READ_REG(TAMP->PRIVCFGR); in HAL_RTCEx_PrivilegeModeGet()
|
D | stm32h5xx_ll_rtc.c | 161 WRITE_REG(RTCx->PRIVCFGR, 0x00000000U); in LL_RTC_DeInit() 183 WRITE_REG(TAMP->PRIVCFGR, 0x00000000U); in LL_RTC_DeInit()
|
/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_pwr.c | 848 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV); in HAL_PWR_ConfigAttributes() 853 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV); in HAL_PWR_ConfigAttributes() 863 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in HAL_PWR_ConfigAttributes() 868 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in HAL_PWR_ConfigAttributes() 881 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in HAL_PWR_ConfigAttributes() 885 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in HAL_PWR_ConfigAttributes() 917 attributes = ((PWR->PRIVCFGR & PWR_PRIVCFGR_SPRIV) == 0U) ? PWR_SEC_NPRIV : PWR_SEC_PRIV; in HAL_PWR_GetConfigAttributes() 922 attributes = ((PWR->PRIVCFGR & PWR_PRIVCFGR_NSPRIV) == 0U) ? PWR_NSEC_NPRIV : PWR_NSEC_PRIV; in HAL_PWR_GetConfigAttributes() 926 attributes = ((PWR->PRIVCFGR & PWR_PRIVCFGR_NSPRIV) == 0U) ? PWR_NSEC_NPRIV : PWR_NSEC_PRIV; in HAL_PWR_GetConfigAttributes()
|
D | stm32u5xx_hal_rcc.c | 2106 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in HAL_RCC_ConfigAttributes() 2111 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in HAL_RCC_ConfigAttributes() 2116 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in HAL_RCC_ConfigAttributes() 2121 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in HAL_RCC_ConfigAttributes() 2126 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in HAL_RCC_ConfigAttributes() 2130 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in HAL_RCC_ConfigAttributes() 2170 attributes = ((RCC->PRIVCFGR & RCC_PRIVCFGR_SPRIV) == 0U) ? RCC_SEC_NPRIV : RCC_SEC_PRIV; in HAL_RCC_GetConfigAttributes() 2175 attributes = ((RCC->PRIVCFGR & RCC_PRIVCFGR_NSPRIV) == 0U) ? RCC_NSEC_NPRIV : RCC_NSEC_PRIV; in HAL_RCC_GetConfigAttributes() 2179 attributes = ((RCC->PRIVCFGR & RCC_PRIVCFGR_NSPRIV) == 0U) ? RCC_NSEC_NPRIV : RCC_NSEC_PRIV; in HAL_RCC_GetConfigAttributes()
|
D | stm32u5xx_hal_dma.c | 372 CLEAR_BIT(p_dma_instance->PRIVCFGR, (1UL << (GET_DMA_CHANNEL(hdma) & 0x1FU))); in HAL_DMA_DeInit() 1404 p_dma_instance->PRIVCFGR |= channel_idx; in HAL_DMA_ConfigChannelAttributes() 1408 p_dma_instance->PRIVCFGR &= (~channel_idx); in HAL_DMA_ConfigChannelAttributes() 1486 …attributes = ((p_dma_instance->PRIVCFGR & channel_idx) == 0U) ? DMA_CHANNEL_NPRIV : DMA_CHANNEL_PR… in HAL_DMA_GetConfigChannelAttributes()
|
D | stm32u5xx_hal_gtzc.c | 971 WRITE_REG(mpcbb_ptr->PRIVCFGR[i], in HAL_GTZC_MPCBB_ConfigMem() 1120 pMPCBB_desc->AttributeConfig.MPCBB_PrivConfig_array[i] = mpcbb_ptr->PRIVCFGR[i]; in HAL_GTZC_MPCBB_GetConfigMem() 1275 SET_BIT(mpcbb_ptr->PRIVCFGR[offset_reg_start], in HAL_GTZC_MPCBB_ConfigMemAttributes() 1280 CLEAR_BIT(mpcbb_ptr->PRIVCFGR[offset_reg_start], in HAL_GTZC_MPCBB_ConfigMemAttributes() 1433 pMemAttributes[i] |= ((READ_BIT(mpcbb_ptr->PRIVCFGR[offset_reg_start], in HAL_GTZC_MPCBB_GetConfigMemAttributes()
|
D | stm32u5xx_hal_rtc_ex.c | 3051 WRITE_REG(RTC->PRIVCFGR, privilegeState->rtcPrivilegeFull | privilegeState->rtcPrivilegeFeatures); in HAL_RTCEx_PrivilegeModeSet() 3057 …WRITE_REG(TAMP->PRIVCFGR, privilegeState->tampPrivilegeFull | privilegeState->backupRegisterPrivZo… in HAL_RTCEx_PrivilegeModeSet() 3086 uint32_t rtc_privcfgr = READ_REG(RTC->PRIVCFGR); in HAL_RTCEx_PrivilegeModeGet() 3087 uint32_t tamp_privcfgr = READ_REG(TAMP->PRIVCFGR); in HAL_RTCEx_PrivilegeModeGet()
|
D | stm32u5xx_hal_otfdec.c | 769 MODIFY_REG(hotfdec->Instance->PRIVCFGR, OTFDEC_PRIVCFGR_PRIV, Attributes); in HAL_OTFDEC_ConfigAttributes() 1051 *Attributes = READ_BIT(hotfdec->Instance->PRIVCFGR, OTFDEC_PRIVCFGR_PRIV); in HAL_OTFDEC_GetConfigAttributes()
|
D | stm32u5xx_hal_flash_ex.c | 643 MODIFY_REG(FLASH->PRIVCFGR, (FLASH_PRIVCFGR_SPRIV | FLASH_PRIVCFGR_NSPRIV), PrivMode); in HAL_FLASHEx_ConfigPrivMode() 662 return (FLASH->PRIVCFGR & (FLASH_PRIVCFGR_SPRIV | FLASH_PRIVCFGR_NSPRIV)); in HAL_FLASHEx_GetPrivMode()
|
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/include/ |
D | stm32h5xx_ll_pwr.h | 1812 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in LL_PWR_EnableNSecurePrivilege() 1822 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in LL_PWR_DisableNSecurePrivilege() 1832 return ((READ_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV) == PWR_PRIVCFGR_NSPRIV) ? 1UL : 0UL); in LL_PWR_IsEnabledNSecurePrivilege() 1842 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV); in LL_PWR_EnableNSecurePrivilege() 1852 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV); in LL_PWR_DisableNSecurePrivilege() 1862 return ((READ_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV) == PWR_PRIVCFGR_PRIV) ? 1UL : 0UL); in LL_PWR_IsEnabledNSecurePrivilege() 1874 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV); in LL_PWR_EnableSecurePrivilege() 1884 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV); in LL_PWR_DisableSecurePrivilege() 1896 return ((READ_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV) == PWR_PRIVCFGR_SPRIV) ? 1UL : 0UL); in LL_PWR_IsEnabledSecurePrivilege()
|
D | stm32h5xx_ll_rcc.h | 5255 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in LL_RCC_EnableSecPrivilegedMode() 5265 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in LL_RCC_DisableSecPrivilegedMode() 5278 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in LL_RCC_EnableNSecPrivilegedMode() 5288 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in LL_RCC_DisableNSecPrivilegedMode() 5298 return ((READ_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV) == RCC_PRIVCFGR_SPRIV) ? 1UL : 0UL); in LL_RCC_IsEnabledSecPrivilegedMode() 5308 return ((READ_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV) == RCC_PRIVCFGR_NSPRIV) ? 1UL : 0UL); in LL_RCC_IsEnabledNSecPrivilegedMode() 5319 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_PRIV); in LL_RCC_EnablePrivilegedMode() 5329 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_PRIV); in LL_RCC_DisablePrivilegedMode() 5339 return ((READ_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_PRIV) == RCC_PRIVCFGR_PRIV) ? 1UL : 0UL); in LL_RCC_IsEnabledPrivilegedMode()
|
D | stm32h5xx_ll_rtc.h | 5273 …MODIFY_REG(RTCx->PRIVCFGR, RTC_PRIVCFGR_PRIV | RTC_PRIVCFGR_INITPRIV | RTC_PRIVCFGR_CALPRIV | RTC_… in LL_RTC_SetRtcPrivilege() 5300 …return READ_BIT(RTCx->PRIVCFGR, RTC_PRIVCFGR_PRIV | RTC_PRIVCFGR_INITPRIV | RTC_PRIVCFGR_CALPRIV… in LL_RTC_GetRtcPrivilege() 5317 MODIFY_REG(TAMP->PRIVCFGR, TAMP_PRIVCFGR_TAMPPRIV, tampPrivilege); in LL_RTC_SetTampPrivilege() 5331 return READ_BIT(TAMP->PRIVCFGR, TAMP_PRIVCFGR_TAMPPRIV); in LL_RTC_GetTampPrivilege() 5350 …MODIFY_REG(TAMP->PRIVCFGR, (TAMP_PRIVCFGR_BKPWPRIV | TAMP_PRIVCFGR_BKPRWPRIV), bckupRegisterPrivil… in LL_RTC_SetBackupRegisterPrivilege() 5367 return READ_BIT(TAMP->PRIVCFGR, (TAMP_PRIVCFGR_BKPWPRIV | TAMP_PRIVCFGR_BKPRWPRIV)); in LL_RTC_GetBackupRegisterPrivilege()
|
/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/include/ |
D | stm32u5xx_ll_rcc.h | 5171 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in LL_RCC_EnableSecPrivilegedMode() 5181 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in LL_RCC_DisableSecPrivilegedMode() 5193 return ((READ_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV) == RCC_PRIVCFGR_SPRIV) ? 1UL : 0UL); in LL_RCC_IsEnabledSecPrivilegedMode() 5203 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in LL_RCC_EnableNSecPrivilegedMode() 5213 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in LL_RCC_DisableNSecPrivilegedMode() 5223 return ((READ_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV) == RCC_PRIVCFGR_NSPRIV) ? 1UL : 0UL); in LL_RCC_IsEnabledNSecPrivilegedMode() 5239 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in LL_RCC_EnablePrivilegedMode() 5241 SET_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in LL_RCC_EnablePrivilegedMode() 5256 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_SPRIV); in LL_RCC_DisablePrivilegedMode() 5258 CLEAR_BIT(RCC->PRIVCFGR, RCC_PRIVCFGR_NSPRIV); in LL_RCC_DisablePrivilegedMode() [all …]
|
D | stm32u5xx_ll_pwr.h | 3212 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in LL_PWR_EnableNSecurePrivilege() 3222 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV); in LL_PWR_DisableNSecurePrivilege() 3232 return ((READ_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_NSPRIV) == PWR_PRIVCFGR_NSPRIV) ? 1UL : 0UL); in LL_PWR_IsEnabledNSecurePrivilege() 3243 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV); in LL_PWR_EnableSecurePrivilege() 3253 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV); in LL_PWR_DisableSecurePrivilege() 3264 return ((READ_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_SPRIV) == PWR_PRIVCFGR_SPRIV) ? 1UL : 0UL); in LL_PWR_IsEnabledSecurePrivilege()
|
D | stm32u5xx_ll_rtc.h | 4914 …MODIFY_REG(RTCx->PRIVCFGR, RTC_PRIVCFGR_PRIV | RTC_PRIVCFGR_INITPRIV | RTC_PRIVCFGR_CALPRIV | RTC_… in LL_RTC_SetRtcPrivilege() 4941 …return READ_BIT(RTCx->PRIVCFGR, RTC_PRIVCFGR_PRIV | RTC_PRIVCFGR_INITPRIV | RTC_PRIVCFGR_CALPRIV |… in LL_RTC_GetRtcPrivilege() 4957 MODIFY_REG(TAMP->PRIVCFGR, TAMP_PRIVCFGR_TAMPPRIV, tampPrivilege); in LL_RTC_SetTampPrivilege() 4971 return READ_BIT(TAMP->PRIVCFGR, TAMP_PRIVCFGR_TAMPPRIV); in LL_RTC_GetTampPrivilege() 4990 …MODIFY_REG(TAMP->PRIVCFGR, (TAMP_PRIVCFGR_BKPWPRIV | TAMP_PRIVCFGR_BKPRWPRIV), bckupRegisterPrivil… in LL_RTC_SetBackupRegisterPrivilege() 5007 return READ_BIT(TAMP->PRIVCFGR, (TAMP_PRIVCFGR_BKPWPRIV | TAMP_PRIVCFGR_BKPRWPRIV)); in LL_RTC_GetBackupRegisterPrivilege()
|
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_pwr.c | 683 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV); in HAL_PWR_ConfigAttributes() 687 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV); in HAL_PWR_ConfigAttributes() 736 if (READ_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV) != 0x00U) in HAL_PWR_GetConfigAttributes()
|
D | stm32l5xx_hal_otfdec.c | 769 MODIFY_REG(hotfdec->Instance->PRIVCFGR, OTFDEC_PRIVCFGR_PRIV, Attributes); in HAL_OTFDEC_ConfigAttributes() 1051 *Attributes = READ_BIT(hotfdec->Instance->PRIVCFGR, OTFDEC_PRIVCFGR_PRIV); in HAL_OTFDEC_GetConfigAttributes()
|
D | stm32l5xx_hal_flash_ex.c | 588 MODIFY_REG(FLASH->PRIVCFGR, FLASH_PRIVCFGR_PRIV, PrivMode); in HAL_FLASHEx_ConfigPrivMode() 601 return (FLASH->PRIVCFGR & FLASH_PRIVCFGR_PRIV); in HAL_FLASHEx_GetPrivMode()
|
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/include/ |
D | stm32l5xx_ll_pwr.h | 1586 SET_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV); in LL_PWR_EnablePrivilege() 1596 CLEAR_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV); in LL_PWR_DisablePrivilege() 1606 return ((READ_BIT(PWR->PRIVCFGR, PWR_PRIVCFGR_PRIV) == PWR_PRIVCFGR_PRIV) ? 1UL : 0UL); in LL_PWR_IsEnabledPrivilege()
|