LL_APB2_GRP1_EnableClock
__STATIC_INLINE void LL_APB2_GRP1_EnableClock
(uint32_t Periphs)
Enable APB2 peripherals clock.
Periphs: This parameter can be a combination of the
following values:
LL_APB2_GRP1_PERIPH_TIM1
LL_APB2_GRP1_PERIPH_TIM8
LL_APB2_GRP1_PERIPH_USART1
LL_APB2_GRP1_PERIPH_USART6
LL_APB2_GRP1_PERIPH_ADC1
LL_APB2_GRP1_PERIPH_ADC2
LL_APB2_GRP1_PERIPH_ADC3
LL_APB2_GRP1_PERIPH_SDIO
LL_APB2_GRP1_PERIPH_SPI1
LL_APB2_GRP1_PERIPH_SYSCFG
LL_APB2_GRP1_PERIPH_TIM9
LL_APB2_GRP1_PERIPH_TIM10
LL_APB2_GRP1_PERIPH_TIM11
Reference Manual to
LL API cross
reference:
APB2ENR TIM1EN LL_APB2_GRP1_EnableClock
APB2ENR TIM8EN LL_APB2_GRP1_EnableClock
APB2ENR USART1EN LL_APB2_GRP1_EnableClock
APB2ENR USART6EN LL_APB2_GRP1_EnableClock
APB2ENR ADC1EN LL_APB2_GRP1_EnableClock
APB2ENR ADC2EN LL_APB2_GRP1_EnableClock
APB2ENR ADC3EN LL_APB2_GRP1_EnableClock
APB2ENR SDIOEN LL_APB2_GRP1_EnableClock
APB2ENR SPI1EN LL_APB2_GRP1_EnableClock
APB2ENR SYSCFGEN LL_APB2_GRP1_EnableClock
APB2ENR TIM9EN LL_APB2_GRP1_EnableClock
APB2ENR TIM10EN LL_APB2_GRP1_EnableClock
APB2ENR TIM11EN LL_APB2_GRP1_EnableClock
LL_APB2_GRP1_IsEnabledClock
__STATIC_INLINE uint32_t LL_APB2_GRP1_IsEnabledClock
(uint32_t Periphs)
Check if APB2 peripheral clock is enabled or not.
Periphs: This parameter can be a combination of the
following values:
LL_APB2_GRP1_PERIPH_TIM1
LL_APB2_GRP1_PERIPH_TIM8
LL_APB2_GRP1_PERIPH_USART1
LL_APB2_GRP1_PERIPH_USART6
LL_APB2_GRP1_PERIPH_ADC1
LL_APB2_GRP1_PERIPH_ADC2
LL_APB2_GRP1_PERIPH_ADC3
LL_APB2_GRP1_PERIPH_SDIO