My Project
Loading...
Searching...
No Matches


More...

Macros

#define __HAL_RCC_LSI_ENABLE()   (*(__IO uint32_t *) RCC_CSR_LSION_BB = ENABLE)
 Macro to enable the Internal Low Speed oscillator (LSI).
 
#define __HAL_RCC_LSI_DISABLE()   (*(__IO uint32_t *) RCC_CSR_LSION_BB = DISABLE)
 Macro to disable the Internal Low Speed oscillator (LSI).
 

Detailed Description


Macro Definition Documentation

◆ __HAL_RCC_LSI_DISABLE

#define __HAL_RCC_LSI_DISABLE ( )    (*(__IO uint32_t *) RCC_CSR_LSION_BB = DISABLE)

Macro to disable the Internal Low Speed oscillator (LSI).

Note
LSI can not be disabled if the IWDG is running.
When the LSI is stopped, LSIRDY flag goes low after 6 LSI oscillator clock cycles.

◆ __HAL_RCC_LSI_ENABLE

#define __HAL_RCC_LSI_ENABLE ( )    (*(__IO uint32_t *) RCC_CSR_LSION_BB = ENABLE)

Macro to enable the Internal Low Speed oscillator (LSI).

Note
After enabling the LSI, the application software should wait on LSIRDY flag to be set indicating that LSI clock is stable and can be used to clock the IWDG and/or the RTC.