Searched refs:temp_reg (Results 1 – 5 of 5) sorted by relevance
102 uint32_t tickstart = 0U, temp_reg = 0U; in HAL_RCCEx_PeriphCLKConfig() local145 temp_reg = (RCC->BDCR & RCC_BDCR_RTCSEL); in HAL_RCCEx_PeriphCLKConfig()146 …if ((temp_reg != 0x00000000U) && (temp_reg != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCSEL)… in HAL_RCCEx_PeriphCLKConfig()149 temp_reg = (RCC->BDCR & ~(RCC_BDCR_RTCSEL)); in HAL_RCCEx_PeriphCLKConfig()154 RCC->BDCR = temp_reg; in HAL_RCCEx_PeriphCLKConfig()157 if (HAL_IS_BIT_SET(temp_reg, RCC_BDCR_LSEON)) in HAL_RCCEx_PeriphCLKConfig()403 uint32_t temp_reg = 0U, frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local416 temp_reg = RCC->CFGR; in HAL_RCCEx_GetPeriphCLKFreq()421 … pllmul = aPLLMULFactorTable[(uint32_t)(temp_reg & RCC_CFGR_PLLMULL) >> RCC_CFGR_PLLMULL_Pos]; in HAL_RCCEx_GetPeriphCLKFreq()422 if ((temp_reg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2) in HAL_RCCEx_GetPeriphCLKFreq()[all …]
93 uint32_t temp_reg; in HAL_RCCEx_PeriphCLKConfig() local147 temp_reg = (RCC->CR & RCC_CR_RTCPRE); in HAL_RCCEx_PeriphCLKConfig()148 if ((temp_reg != (PeriphClkInit->RTCClockSelection & RCC_CR_RTCPRE)) in HAL_RCCEx_PeriphCLKConfig()150 || (temp_reg != (PeriphClkInit->LCDClockSelection & RCC_CR_RTCPRE)) in HAL_RCCEx_PeriphCLKConfig()165 temp_reg = (RCC->CSR & RCC_CSR_RTCSEL); in HAL_RCCEx_PeriphCLKConfig()167 …if((temp_reg != 0x00000000U) && (((temp_reg != (PeriphClkInit->RTCClockSelection & RCC_CSR_RTCSEL)… in HAL_RCCEx_PeriphCLKConfig()170 || ((temp_reg != (PeriphClkInit->LCDClockSelection & RCC_CSR_RTCSEL)) \ in HAL_RCCEx_PeriphCLKConfig()176 temp_reg = (RCC->CSR & ~(RCC_CSR_RTCSEL)); in HAL_RCCEx_PeriphCLKConfig()183 RCC->CSR = temp_reg; in HAL_RCCEx_PeriphCLKConfig()186 if (HAL_IS_BIT_SET(temp_reg, RCC_CSR_LSEON)) in HAL_RCCEx_PeriphCLKConfig()
98 uint32_t temp_reg; in HAL_RCCEx_PeriphCLKConfig() local151 temp_reg = (RCC->CR & RCC_CR_RTCPRE); in HAL_RCCEx_PeriphCLKConfig()152 if ((temp_reg != (PeriphClkInit->RTCClockSelection & RCC_CR_RTCPRE)) in HAL_RCCEx_PeriphCLKConfig()154 || (temp_reg != (PeriphClkInit->LCDClockSelection & RCC_CR_RTCPRE)) in HAL_RCCEx_PeriphCLKConfig()169 temp_reg = (RCC->CSR & RCC_CSR_RTCSEL); in HAL_RCCEx_PeriphCLKConfig()171 …if((temp_reg != 0x00000000U) && (((temp_reg != (PeriphClkInit->RTCClockSelection & RCC_CSR_RTCSEL)… in HAL_RCCEx_PeriphCLKConfig()174 || ((temp_reg != (PeriphClkInit->LCDClockSelection & RCC_CSR_RTCSEL)) \ in HAL_RCCEx_PeriphCLKConfig()180 temp_reg = (RCC->CSR & ~(RCC_CSR_RTCSEL)); in HAL_RCCEx_PeriphCLKConfig()187 RCC->CSR = temp_reg; in HAL_RCCEx_PeriphCLKConfig()190 if (HAL_IS_BIT_SET(temp_reg, RCC_CSR_LSEON)) in HAL_RCCEx_PeriphCLKConfig()[all …]
105 uint32_t temp_reg = 0U; in HAL_RCCEx_PeriphCLKConfig() local145 temp_reg = (RCC->BDCR & RCC_BDCR_RTCSEL); in HAL_RCCEx_PeriphCLKConfig()146 …if((temp_reg != 0x00000000U) && (temp_reg != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCSEL))) in HAL_RCCEx_PeriphCLKConfig()149 temp_reg = (RCC->BDCR & ~(RCC_BDCR_RTCSEL)); in HAL_RCCEx_PeriphCLKConfig()154 RCC->BDCR = temp_reg; in HAL_RCCEx_PeriphCLKConfig()157 if (HAL_IS_BIT_SET(temp_reg, RCC_BDCR_LSEON)) in HAL_RCCEx_PeriphCLKConfig()
108 uint32_t temp_reg = 0U; in HAL_RCCEx_PeriphCLKConfig() local148 temp_reg = (RCC->BDCR & RCC_BDCR_RTCSEL); in HAL_RCCEx_PeriphCLKConfig()149 …if((temp_reg != 0x00000000U) && (temp_reg != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCSEL))) in HAL_RCCEx_PeriphCLKConfig()152 temp_reg = (RCC->BDCR & ~(RCC_BDCR_RTCSEL)); in HAL_RCCEx_PeriphCLKConfig()157 RCC->BDCR = temp_reg; in HAL_RCCEx_PeriphCLKConfig()160 if (HAL_IS_BIT_SET(temp_reg, RCC_BDCR_LSEON)) in HAL_RCCEx_PeriphCLKConfig()