Enable or disable the Low Speed APB (APB1) peripheral clock.
More...
|
#define | __HAL_RCC_TIM2_CLK_ENABLE() |
|
#define | __HAL_RCC_TIM3_CLK_ENABLE() |
|
#define | __HAL_RCC_WWDG_CLK_ENABLE() |
|
#define | __HAL_RCC_USART2_CLK_ENABLE() |
|
#define | __HAL_RCC_I2C1_CLK_ENABLE() |
|
#define | __HAL_RCC_BKP_CLK_ENABLE() |
|
#define | __HAL_RCC_PWR_CLK_ENABLE() |
|
#define | __HAL_RCC_TIM2_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM2EN)) |
|
#define | __HAL_RCC_TIM3_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM3EN)) |
|
#define | __HAL_RCC_WWDG_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_WWDGEN)) |
|
#define | __HAL_RCC_USART2_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_USART2EN)) |
|
#define | __HAL_RCC_I2C1_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_I2C1EN)) |
|
#define | __HAL_RCC_BKP_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_BKPEN)) |
|
#define | __HAL_RCC_PWR_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_PWREN)) |
|
Enable or disable the Low Speed APB (APB1) peripheral clock.
- Note
- After reset, the peripheral clock (used for registers read/write access) is disabled and the application software has to enable this clock before using it.
◆ __HAL_RCC_BKP_CLK_ENABLE
#define __HAL_RCC_BKP_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_APB1ENR_BKPEN
Definition: stm32f103x6.h:1310
◆ __HAL_RCC_I2C1_CLK_ENABLE
#define __HAL_RCC_I2C1_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_APB1ENR_I2C1EN
Definition: stm32f103x6.h:1302
◆ __HAL_RCC_PWR_CLK_ENABLE
#define __HAL_RCC_PWR_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_APB1ENR_PWREN
Definition: stm32f103x6.h:1313
◆ __HAL_RCC_TIM2_CLK_ENABLE
#define __HAL_RCC_TIM2_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_APB1ENR_TIM2EN
Definition: stm32f103x6.h:1290
◆ __HAL_RCC_TIM3_CLK_ENABLE
#define __HAL_RCC_TIM3_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_APB1ENR_TIM3EN
Definition: stm32f103x6.h:1293
◆ __HAL_RCC_USART2_CLK_ENABLE
#define __HAL_RCC_USART2_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_APB1ENR_USART2EN
Definition: stm32f103x6.h:1299
◆ __HAL_RCC_WWDG_CLK_ENABLE
#define __HAL_RCC_WWDG_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_APB1ENR_WWDGEN
Definition: stm32f103x6.h:1296