/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_pwr_ex.c | 134 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_GetVoltageRange() 138 else if (READ_BIT(PWR->CR5, PWR_CR5_R1MODE) == PWR_CR5_R1MODE) in HAL_PWREx_GetVoltageRange() 148 return (PWR->CR1 & PWR_CR1_VOS); in HAL_PWREx_GetVoltageRange() 190 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_ControlVoltageScaling() 193 CLEAR_BIT(PWR->CR5, PWR_CR5_R1MODE); in HAL_PWREx_ControlVoltageScaling() 196 MODIFY_REG(PWR->CR1, PWR_CR1_VOS, PWR_REGULATOR_VOLTAGE_SCALE1); in HAL_PWREx_ControlVoltageScaling() 200 while ((HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) && (wait_loop_index != 0U)) in HAL_PWREx_ControlVoltageScaling() 204 if (HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_VOSF)) in HAL_PWREx_ControlVoltageScaling() 213 CLEAR_BIT(PWR->CR5, PWR_CR5_R1MODE); in HAL_PWREx_ControlVoltageScaling() 219 if (READ_BIT(PWR->CR1, PWR_CR1_VOS) == PWR_REGULATOR_VOLTAGE_SCALE2) in HAL_PWREx_ControlVoltageScaling() [all …]
|
D | stm32l4xx_hal_pwr.c | 123 SET_BIT(PWR->CR1, PWR_CR1_DBP); in HAL_PWR_EnableBkUpAccess() 133 CLEAR_BIT(PWR->CR1, PWR_CR1_DBP); in HAL_PWR_DisableBkUpAccess() 335 MODIFY_REG(PWR->CR2, PWR_CR2_PLS, sConfigPVD->PVDLevel); in HAL_PWR_ConfigPVD() 376 SET_BIT(PWR->CR2, PWR_CR2_PVDE); in HAL_PWR_EnablePVD() 385 CLEAR_BIT(PWR->CR2, PWR_CR2_PVDE); in HAL_PWR_DisablePVD() 414 …MODIFY_REG(PWR->CR4, (PWR_CR3_EWUP & WakeUpPinPolarity), (WakeUpPinPolarity >> PWR_WUP_POLARITY_SH… in HAL_PWR_EnableWakeUpPin() 417 SET_BIT(PWR->CR3, (PWR_CR3_EWUP & WakeUpPinPolarity)); in HAL_PWR_EnableWakeUpPin() 433 CLEAR_BIT(PWR->CR3, (PWR_CR3_EWUP & WakeUpPinx)); in HAL_PWR_DisableWakeUpPin() 471 if (HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_REGLPF)) in HAL_PWR_EnterSLEEPMode() 484 if (HAL_IS_BIT_SET(PWR->SR2, PWR_SR2_REGLPF) == RESET) in HAL_PWR_EnterSLEEPMode() [all …]
|
D | stm32l4xx_ll_pwr.c | 45 #if defined(PWR)
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_pwr.h | 51 #if defined(PWR) 198 #define LL_PWR_GPIO_A ((uint32_t)(&(PWR->PUCRA))) 199 #define LL_PWR_GPIO_B ((uint32_t)(&(PWR->PUCRB))) 200 #define LL_PWR_GPIO_C ((uint32_t)(&(PWR->PUCRC))) 201 #define LL_PWR_GPIO_D ((uint32_t)(&(PWR->PUCRD))) 202 #define LL_PWR_GPIO_E ((uint32_t)(&(PWR->PUCRE))) 204 #define LL_PWR_GPIO_F ((uint32_t)(&(PWR->PUCRF))) 207 #define LL_PWR_GPIO_G ((uint32_t)(&(PWR->PUCRG))) 210 #define LL_PWR_GPIO_H ((uint32_t)(&(PWR->PUCRH))) 213 #define LL_PWR_GPIO_I ((uint32_t)(&(PWR->PUCRI))) [all …]
|
D | stm32l4xx_hal_pwr.h | 212 (PWR->SR1 & (1U << ((__FLAG__) & 31U))) :\ 213 (PWR->SR2 & (1U << ((__FLAG__) & 31U))) ) 234 (PWR->SCR = (__FLAG__)) :\ 235 (PWR->SCR = (1U << ((__FLAG__) & 31U))) )
|
D | stm32l4xx_hal_pwr_ex.h | 692 … MODIFY_REG(PWR->CR1, PWR_CR1_VOS, (__REGULATOR__)); \ 694 … tmpreg = READ_BIT(PWR->CR1, PWR_CR1_VOS); \
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_ll_pwr.h | 51 #if defined(PWR) 186 #define LL_PWR_WriteReg(__REG__, __VALUE__) WRITE_REG(PWR->__REG__, (__VALUE__)) 193 #define LL_PWR_ReadReg(__REG__) READ_REG(PWR->__REG__) 219 SET_BIT(PWR->CR, PWR_CR_LPRUN); in LL_PWR_EnableLowPowerRunMode() 229 CLEAR_BIT(PWR->CR, PWR_CR_LPRUN); in LL_PWR_DisableLowPowerRunMode() 239 return (READ_BIT(PWR->CR, PWR_CR_LPRUN) == (PWR_CR_LPRUN)); in LL_PWR_IsEnabledLowPowerRunMode() 257 SET_BIT(PWR->CR, PWR_CR_LPSDSR); /* => LL_PWR_SetRegulModeLP(LL_PWR_REGU_LPMODES_LOW_POWER) */ in LL_PWR_EnterLowPowerRunMode() 258 SET_BIT(PWR->CR, PWR_CR_LPRUN); /* => LL_PWR_EnableLowPowerRunMode() */ in LL_PWR_EnterLowPowerRunMode() 276 CLEAR_BIT(PWR->CR, PWR_CR_LPRUN); /* => LL_PWR_DisableLowPowerRunMode() */ in LL_PWR_ExitLowPowerRunMode() 277 CLEAR_BIT(PWR->CR, PWR_CR_LPSDSR); /* => LL_PWR_SetRegulModeLP(LL_PWR_REGU_LPMODES_MAIN) */ in LL_PWR_ExitLowPowerRunMode() [all …]
|
D | stm32l0xx_hal_pwr_ex.h | 64 #define __HAL_PWR_FLASHWAKEUP_ENABLE() CLEAR_BIT(PWR->CR, PWR_CR_DSEEKOFF) 71 #define __HAL_PWR_FLASHWAKEUP_DISABLE() SET_BIT(PWR->CR, PWR_CR_DSEEKOFF)
|
D | stm32l0xx_hal_pwr.h | 216 #define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__) (MODIFY_REG(PWR->CR, PWR_CR_VOS, (__REGULATO… 244 #define __HAL_PWR_GET_FLAG(__FLAG__) ((PWR->CSR & (__FLAG__)) == (__FLAG__)) 252 #define __HAL_PWR_CLEAR_FLAG(__FLAG__) SET_BIT(PWR->CR, (__FLAG__) << 2U)
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_ll_pwr.h | 51 #if defined(PWR) 186 #define LL_PWR_WriteReg(__REG__, __VALUE__) WRITE_REG(PWR->__REG__, (__VALUE__)) 193 #define LL_PWR_ReadReg(__REG__) READ_REG(PWR->__REG__) 219 SET_BIT(PWR->CR, PWR_CR_LPRUN); in LL_PWR_EnableLowPowerRunMode() 229 CLEAR_BIT(PWR->CR, PWR_CR_LPRUN); in LL_PWR_DisableLowPowerRunMode() 239 return (READ_BIT(PWR->CR, PWR_CR_LPRUN) == (PWR_CR_LPRUN)); in LL_PWR_IsEnabledLowPowerRunMode() 257 SET_BIT(PWR->CR, PWR_CR_LPSDSR); /* => LL_PWR_SetRegulModeLP(LL_PWR_REGU_LPMODES_LOW_POWER) */ in LL_PWR_EnterLowPowerRunMode() 258 SET_BIT(PWR->CR, PWR_CR_LPRUN); /* => LL_PWR_EnableLowPowerRunMode() */ in LL_PWR_EnterLowPowerRunMode() 276 CLEAR_BIT(PWR->CR, PWR_CR_LPRUN); /* => LL_PWR_DisableLowPowerRunMode() */ in LL_PWR_ExitLowPowerRunMode() 277 CLEAR_BIT(PWR->CR, PWR_CR_LPSDSR); /* => LL_PWR_SetRegulModeLP(LL_PWR_REGU_LPMODES_MAIN) */ in LL_PWR_ExitLowPowerRunMode() [all …]
|
D | stm32l1xx_hal_pwr.h | 262 #define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__) (MODIFY_REG(PWR->CR, PWR_CR_VOS, (__REGULATO… 290 #define __HAL_PWR_GET_FLAG(__FLAG__) ((PWR->CSR & (__FLAG__)) == (__FLAG__)) 298 #define __HAL_PWR_CLEAR_FLAG(__FLAG__) SET_BIT(PWR->CR, ((__FLAG__) << 2))
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_pwr_ex.c | 88 return (PWR->CR & PWR_CR_VOS); in HAL_PWREx_GetVoltageRange() 102 SET_BIT(PWR->CR, PWR_CR_FWU); in HAL_PWREx_EnableFastWakeUp() 112 CLEAR_BIT(PWR->CR, PWR_CR_FWU); in HAL_PWREx_DisableFastWakeUp() 122 SET_BIT(PWR->CR, PWR_CR_ULP); in HAL_PWREx_EnableUltraLowPower() 132 CLEAR_BIT(PWR->CR, PWR_CR_ULP); in HAL_PWREx_DisableUltraLowPower() 150 SET_BIT(PWR->CR, PWR_CR_LPSDSR); in HAL_PWREx_EnableLowPowerRunMode() 151 SET_BIT(PWR->CR, PWR_CR_LPRUN); in HAL_PWREx_EnableLowPowerRunMode() 167 CLEAR_BIT(PWR->CR, PWR_CR_LPRUN); in HAL_PWREx_DisableLowPowerRunMode() 168 CLEAR_BIT(PWR->CR, PWR_CR_LPSDSR); in HAL_PWREx_DisableLowPowerRunMode() 173 while ((wait_loop_index != 0U) && (HAL_IS_BIT_SET(PWR->CSR, PWR_CSR_REGLPF))) in HAL_PWREx_DisableLowPowerRunMode() [all …]
|
D | stm32l0xx_hal_pwr.c | 343 SET_BIT(PWR->CR, PWR_CR_DBP); in HAL_PWR_EnableBkUpAccess() 356 CLEAR_BIT(PWR->CR, PWR_CR_DBP); in HAL_PWR_DisableBkUpAccess() 375 MODIFY_REG(PWR->CR, PWR_CR_PLS, sConfigPVD->PVDLevel); in HAL_PWR_ConfigPVD() 414 SET_BIT(PWR->CR, PWR_CR_PVDE); in HAL_PWR_EnablePVD() 424 CLEAR_BIT(PWR->CR, PWR_CR_PVDE); in HAL_PWR_DisablePVD() 441 SET_BIT(PWR->CSR, WakeUpPinx); in HAL_PWR_EnableWakeUpPin() 458 CLEAR_BIT(PWR->CSR, WakeUpPinx); in HAL_PWR_DisableWakeUpPin() 484 tmpreg = PWR->CR; in HAL_PWR_EnterSLEEPMode() 493 PWR->CR = tmpreg; in HAL_PWR_EnterSLEEPMode() 546 tmpreg = PWR->CR; in HAL_PWR_EnterSTOPMode() [all …]
|
D | stm32l0xx_hal_rcc.c | 620 if(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) in HAL_RCC_OscConfig() 623 SET_BIT(PWR->CR, PWR_CR_DBP); in HAL_RCC_OscConfig() 628 while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) in HAL_RCC_OscConfig() 1447 vos = READ_BIT(PWR->CR, PWR_CR_VOS); in RCC_SetFlashLatencyFromMSIRange() 1452 vos = READ_BIT(PWR->CR, PWR_CR_VOS); in RCC_SetFlashLatencyFromMSIRange()
|
D | stm32l0xx_ll_pwr.c | 45 #if defined(PWR)
|
D | stm32l0xx_hal_rcc_ex.c | 159 if(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) in HAL_RCCEx_PeriphCLKConfig() 162 SET_BIT(PWR->CR, PWR_CR_DBP); in HAL_RCCEx_PeriphCLKConfig() 167 while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) in HAL_RCCEx_PeriphCLKConfig()
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_pwr.c | 362 MODIFY_REG(PWR->CR, PWR_CR_PLS, sConfigPVD->PVDLevel); in HAL_PWR_ConfigPVD() 469 MODIFY_REG(PWR->CR, (PWR_CR_PDDS | PWR_CR_LPSDSR), Regulator); in HAL_PWR_EnterSLEEPMode() 515 MODIFY_REG(PWR->CR, (PWR_CR_PDDS | PWR_CR_LPSDSR), Regulator); in HAL_PWR_EnterSTOPMode() 551 SET_BIT(PWR->CR, PWR_CR_PDDS); in HAL_PWR_EnterSTANDBYMode()
|
D | stm32l1xx_hal_rcc_ex.c | 147 if(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) in HAL_RCCEx_PeriphCLKConfig() 150 SET_BIT(PWR->CR, PWR_CR_DBP); in HAL_RCCEx_PeriphCLKConfig() 155 while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) in HAL_RCCEx_PeriphCLKConfig()
|
D | stm32l1xx_hal_rcc.c | 589 if(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) in HAL_RCC_OscConfig() 592 SET_BIT(PWR->CR, PWR_CR_DBP); in HAL_RCC_OscConfig() 597 while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) in HAL_RCC_OscConfig() 1298 vos = READ_BIT(PWR->CR, PWR_CR_VOS); in RCC_SetFlashLatencyFromMSIRange() 1303 vos = READ_BIT(PWR->CR, PWR_CR_VOS); in RCC_SetFlashLatencyFromMSIRange()
|
D | stm32l1xx_ll_pwr.c | 45 #if defined(PWR)
|
D | stm32l1xx_hal_pwr_ex.c | 84 return (PWR->CR & PWR_CR_VOS); in HAL_PWREx_GetVoltageRange()
|
/loramac-node-3.4.0/src/boards/SKiM980A/cmsis/ |
D | system_stm32l1xx.c | 302 PWR->CR = PWR_CR_VOS_0; in SystemInit_ExtMemCtl() 305 while((PWR->CSR & PWR_CSR_VOSF) != RESET) in SystemInit_ExtMemCtl()
|
/loramac-node-3.4.0/src/boards/NucleoL152/cmsis/ |
D | system_stm32l1xx.c | 302 PWR->CR = PWR_CR_VOS_0; in SystemInit_ExtMemCtl() 305 while((PWR->CSR & PWR_CSR_VOSF) != RESET) in SystemInit_ExtMemCtl()
|
/loramac-node-3.4.0/src/boards/SKiM880B/cmsis/ |
D | system_stm32l1xx.c | 302 PWR->CR = PWR_CR_VOS_0; in SystemInit_ExtMemCtl() 305 while((PWR->CSR & PWR_CSR_VOSF) != RESET) in SystemInit_ExtMemCtl()
|
/loramac-node-3.4.0/src/boards/NAMote72/cmsis/ |
D | system_stm32l1xx.c | 302 PWR->CR = PWR_CR_VOS_0; in SystemInit_ExtMemCtl() 305 while((PWR->CSR & PWR_CSR_VOSF) != RESET) in SystemInit_ExtMemCtl()
|