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: stm32f103xb.h:1335
◆ __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: stm32f103xb.h:1327
◆ __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: stm32f103xb.h:1338
◆ __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: stm32f103xb.h:1315
◆ __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: stm32f103xb.h:1318
◆ __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: stm32f103xb.h:1324
◆ __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: stm32f103xb.h:1321