Home
last modified time | relevance | path

Searched refs:PRIVCFGR (Results 1 – 25 of 46) sorted by relevance

12

/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_pwr.c542 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 …]
Dstm32h5xx_hal_rcc.c1740 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 …]
Dstm32h5xx_hal_gtzc.c883 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()
Dstm32h5xx_hal_dma.c372 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()
Dstm32h5xx_hal_flash_ex.c784 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()
Dstm32h5xx_hal_otfdec.c769 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()
Dstm32h5xx_hal_rtc_ex.c3434 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()
Dstm32h5xx_ll_rtc.c161 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/
Dstm32u5xx_hal_pwr.c848 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()
Dstm32u5xx_hal_rcc.c2106 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()
Dstm32u5xx_hal_dma.c372 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()
Dstm32u5xx_hal_gtzc.c971 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()
Dstm32u5xx_hal_rtc_ex.c3051 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()
Dstm32u5xx_hal_otfdec.c769 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()
Dstm32u5xx_hal_flash_ex.c643 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/
Dstm32h5xx_ll_pwr.h1812 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()
Dstm32h5xx_ll_rcc.h5255 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()
Dstm32h5xx_ll_rtc.h5273 …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/
Dstm32u5xx_ll_rcc.h5171 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 …]
Dstm32u5xx_ll_pwr.h3212 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()
Dstm32u5xx_ll_rtc.h4914 …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/
Dstm32l5xx_hal_pwr.c683 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()
Dstm32l5xx_hal_otfdec.c769 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()
Dstm32l5xx_hal_flash_ex.c588 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/
Dstm32l5xx_ll_pwr.h1586 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()

12