STM32F479xx HAL User Manual
|
Defines | |
#define | __HAL_RCC_LSE_CONFIG(__STATE__) |
Macro to configure the External Low Speed oscillator (LSE). |
#define __HAL_RCC_LSE_CONFIG | ( | __STATE__ | ) |
do { \ if((__STATE__) == RCC_LSE_ON) \ { \ SET_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ } \ else if((__STATE__) == RCC_LSE_BYPASS) \ { \ SET_BIT(RCC->BDCR, RCC_BDCR_LSEBYP); \ SET_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ } \ else \ { \ CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEON); \ CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEBYP); \ } \ } while(0U)
Macro to configure the External Low Speed oscillator (LSE).
__STATE__ | specifies the new state of the LSE. This parameter can be one of the following values:
|
Definition at line 938 of file stm32f4xx_hal_rcc.h.
Referenced by HAL_RCC_OscConfig().