Enable or disable the AHB1 peripheral clock.
More...
|
#define | __HAL_RCC_DMA1_CLK_ENABLE() |
|
#define | __HAL_RCC_SRAM_CLK_ENABLE() |
|
#define | __HAL_RCC_FLITF_CLK_ENABLE() |
|
#define | __HAL_RCC_CRC_CLK_ENABLE() |
|
#define | __HAL_RCC_DMA1_CLK_DISABLE() (RCC->AHBENR &= ~(RCC_AHBENR_DMA1EN)) |
|
#define | __HAL_RCC_SRAM_CLK_DISABLE() (RCC->AHBENR &= ~(RCC_AHBENR_SRAMEN)) |
|
#define | __HAL_RCC_FLITF_CLK_DISABLE() (RCC->AHBENR &= ~(RCC_AHBENR_FLITFEN)) |
|
#define | __HAL_RCC_CRC_CLK_DISABLE() (RCC->AHBENR &= ~(RCC_AHBENR_CRCEN)) |
|
Enable or disable the AHB1 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_CRC_CLK_ENABLE
#define __HAL_RCC_CRC_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_AHBENR_CRCEN
Definition: stm32f103xb.h:1265
◆ __HAL_RCC_DMA1_CLK_ENABLE
#define __HAL_RCC_DMA1_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_AHBENR_DMA1EN
Definition: stm32f103xb.h:1256
◆ __HAL_RCC_FLITF_CLK_ENABLE
#define __HAL_RCC_FLITF_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_AHBENR_FLITFEN
Definition: stm32f103xb.h:1262
◆ __HAL_RCC_SRAM_CLK_ENABLE
#define __HAL_RCC_SRAM_CLK_ENABLE |
( |
| ) |
|
Value:do { \
__IO uint32_t tmpreg; \
\
UNUSED(tmpreg); \
} while(0U)
#define RCC_AHBENR_SRAMEN
Definition: stm32f103xb.h:1259