Searched refs:BDCR (Results 1 – 7 of 7) sorted by relevance
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_rcc_ex.c | 357 tmpregister = READ_BIT(RCC->BDCR, RCC_BDCR_RTCSEL); in HAL_RCCEx_PeriphCLKConfig() 362 tmpregister = READ_BIT(RCC->BDCR, ~(RCC_BDCR_RTCSEL)); in HAL_RCCEx_PeriphCLKConfig() 367 RCC->BDCR = tmpregister; in HAL_RCCEx_PeriphCLKConfig() 377 while(READ_BIT(RCC->BDCR, RCC_BDCR_LSERDY) == RESET) in HAL_RCCEx_PeriphCLKConfig() 1139 if ((srcclk == RCC_RTCCLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1624 else if((srcclk == RCC_USART1CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1651 else if((srcclk == RCC_USART2CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1680 else if((srcclk == RCC_USART3CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1711 else if((srcclk == RCC_UART4CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1742 else if((srcclk == RCC_UART5CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
D | stm32l4xx_hal_rcc.c | 710 while(READ_BIT(RCC->BDCR, RCC_BDCR_LSERDY) == RESET) in HAL_RCC_OscConfig() 724 while(READ_BIT(RCC->BDCR, RCC_BDCR_LSERDY) != RESET) in HAL_RCC_OscConfig() 1417 if(READ_BIT(RCC->BDCR, RCC_BDCR_LSEBYP) == RCC_BDCR_LSEBYP) in HAL_RCC_GetOscConfig() 1421 else if(READ_BIT(RCC->BDCR, RCC_BDCR_LSEON) == RCC_BDCR_LSEON) in HAL_RCC_GetOscConfig()
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_rcc_ex.c | 357 tmpregister = READ_BIT(RCC->BDCR, RCC_BDCR_RTCSEL); in HAL_RCCEx_PeriphCLKConfig() 362 tmpregister = READ_BIT(RCC->BDCR, ~(RCC_BDCR_RTCSEL)); in HAL_RCCEx_PeriphCLKConfig() 367 RCC->BDCR = tmpregister; in HAL_RCCEx_PeriphCLKConfig() 377 while(READ_BIT(RCC->BDCR, RCC_BDCR_LSERDY) == RESET) in HAL_RCCEx_PeriphCLKConfig() 1139 if ((srcclk == RCC_RTCCLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1624 else if((srcclk == RCC_USART1CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1651 else if((srcclk == RCC_USART2CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1680 else if((srcclk == RCC_USART3CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1711 else if((srcclk == RCC_UART4CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() 1742 else if((srcclk == RCC_UART5CLKSOURCE_LSE) && (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSERDY))) in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
D | stm32l4xx_hal_rcc.c | 710 while(READ_BIT(RCC->BDCR, RCC_BDCR_LSERDY) == RESET) in HAL_RCC_OscConfig() 724 while(READ_BIT(RCC->BDCR, RCC_BDCR_LSERDY) != RESET) in HAL_RCC_OscConfig() 1417 if(READ_BIT(RCC->BDCR, RCC_BDCR_LSEBYP) == RCC_BDCR_LSEBYP) in HAL_RCC_GetOscConfig() 1421 else if(READ_BIT(RCC->BDCR, RCC_BDCR_LSEON) == RCC_BDCR_LSEON) in HAL_RCC_GetOscConfig()
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_rcc.h | 3653 #define __HAL_RCC_BACKUPRESET_FORCE() SET_BIT(RCC->BDCR, RCC_BDCR_BDRST) 3655 #define __HAL_RCC_BACKUPRESET_RELEASE() CLEAR_BIT(RCC->BDCR, RCC_BDCR_BDRST) 3673 #define __HAL_RCC_RTC_ENABLE() SET_BIT(RCC->BDCR, RCC_BDCR_RTCEN) 3675 #define __HAL_RCC_RTC_DISABLE() CLEAR_BIT(RCC->BDCR, RCC_BDCR_RTCEN) 3915 SET_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ 3919 SET_BIT(RCC->BDCR, RCC_BDCR_LSEBYP); \ 3920 SET_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ 3924 CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ 3925 CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEBYP); \ 3969 MODIFY_REG( RCC->BDCR, RCC_BDCR_RTCSEL, (__RTC_CLKSOURCE__)) [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_rcc.h | 3653 #define __HAL_RCC_BACKUPRESET_FORCE() SET_BIT(RCC->BDCR, RCC_BDCR_BDRST) 3655 #define __HAL_RCC_BACKUPRESET_RELEASE() CLEAR_BIT(RCC->BDCR, RCC_BDCR_BDRST) 3673 #define __HAL_RCC_RTC_ENABLE() SET_BIT(RCC->BDCR, RCC_BDCR_RTCEN) 3675 #define __HAL_RCC_RTC_DISABLE() CLEAR_BIT(RCC->BDCR, RCC_BDCR_RTCEN) 3915 SET_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ 3919 SET_BIT(RCC->BDCR, RCC_BDCR_LSEBYP); \ 3920 SET_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ 3924 CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ 3925 CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEBYP); \ 3969 MODIFY_REG( RCC->BDCR, RCC_BDCR_RTCSEL, (__RTC_CLKSOURCE__)) [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/CMSIS/Device/ST/STM32L4xx/Include/ |
D | stm32l476xx.h | 740 …__IO uint32_t BDCR; /*!< RCC backup domain control register, … member
|