|
STM32G474xx HAL用户手册
|
使能或禁用APB2外设时钟。 更多...
宏定义 | |
| #define | __HAL_RCC_SYSCFG_CLK_ENABLE() |
| #define | __HAL_RCC_TIM1_CLK_ENABLE() |
| #define | __HAL_RCC_SPI1_CLK_ENABLE() |
| #define | __HAL_RCC_TIM8_CLK_ENABLE() |
| #define | __HAL_RCC_USART1_CLK_ENABLE() |
| #define | __HAL_RCC_SPI4_CLK_ENABLE() |
| #define | __HAL_RCC_TIM15_CLK_ENABLE() |
| #define | __HAL_RCC_TIM16_CLK_ENABLE() |
| #define | __HAL_RCC_TIM17_CLK_ENABLE() |
| #define | __HAL_RCC_TIM20_CLK_ENABLE() |
| #define | __HAL_RCC_SAI1_CLK_ENABLE() |
| #define | __HAL_RCC_HRTIM1_CLK_ENABLE() |
| #define | __HAL_RCC_SYSCFG_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_SYSCFGEN) |
| #define | __HAL_RCC_TIM1_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_TIM1EN) |
| #define | __HAL_RCC_SPI1_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_SPI1EN) |
| #define | __HAL_RCC_TIM8_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_TIM8EN) |
| #define | __HAL_RCC_USART1_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_USART1EN) |
| #define | __HAL_RCC_SPI4_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_SPI4EN) |
| #define | __HAL_RCC_TIM15_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_TIM15EN) |
| #define | __HAL_RCC_TIM16_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_TIM16EN) |
| #define | __HAL_RCC_TIM17_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_TIM17EN) |
| #define | __HAL_RCC_TIM20_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_TIM20EN) |
| #define | __HAL_RCC_SAI1_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_SAI1EN) |
| #define | __HAL_RCC_HRTIM1_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_HRTIM1EN) |
使能或禁用APB2外设时钟。
| #define __HAL_RCC_HRTIM1_CLK_DISABLE | ( | ) | CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_HRTIM1EN) |
定义于文件 stm32g4xx_hal_rcc.h的第 1228行。
| #define __HAL_RCC_HRTIM1_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ SET_BIT(RCC->APB2ENR, RCC_APB2ENR_HRTIM1EN); \ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->APB2ENR, RCC_APB2ENR_HRTIM1EN); \ UNUSED(tmpreg); \ } while(0)
定义于文件 stm32g4xx_hal_rcc.h的第 1192行。
被以下函数引用:HAL_HRTIM_Init()。
| #define __HAL_RCC_SAI1_CLK_DISABLE | ( | ) | CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_SAI1EN) |
定义于文件 stm32g4xx_hal_rcc.h的第 1225行。
| #define __HAL_RCC_SAI1_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ SET_BIT(RCC->APB2ENR, RCC_APB2ENR_SAI1EN); \ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->APB2ENR, RCC_APB2ENR_SAI1EN); \ UNUSED(tmpreg); \ } while(0)
定义于文件 stm32g4xx_hal_rcc.h的第 1183行。
| #define __HAL_RCC_SPI1_CLK_DISABLE | ( | ) | CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_SPI1EN) |
定义于文件 stm32g4xx_hal_rcc.h的第 1205行。
| #define __HAL_RCC_SPI1_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ SET_BIT(RCC->APB2ENR, RCC_APB2ENR_SPI1EN); \ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->APB2ENR, RCC_APB2ENR_SPI1EN); \ UNUSED(tmpreg); \ } while(0)
定义于文件 stm32g4xx_hal_rcc.h的第 1115行。
| #define __HAL_RCC_SPI4_CLK_DISABLE | ( | ) | CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_SPI4EN) |
定义于文件 stm32g4xx_hal_rcc.h的第 1212行。
| #define __HAL_RCC_SPI4_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ SET_BIT(RCC->APB2ENR, RCC_APB2ENR_SPI4EN); \ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->APB2ENR, RCC_APB2ENR_SPI4EN); \ UNUSED(tmpreg); \ } while(0)
定义于文件 stm32g4xx_hal_rcc.h的第 1140行。
| #define __HAL_RCC_SYSCFG_CLK_DISABLE | ( | ) | CLEAR_BIT(RCC->APB2ENR, RCC_APB2ENR_SYSCFGEN) |
定义于文件 stm32g4xx_hal_rcc.h的第 1201行。
| #define __HAL_RCC_SYSCFG_CLK_ENABLE | ( | ) |
do { \ __IO uint32_t tmpreg; \ SET_BIT(RCC->APB2ENR, RCC_APB2ENR_SYSCFGEN); \ /* Delay after an RCC peripheral clock enabling */ \ tmpreg = READ_BIT(RCC->APB2ENR, RCC_APB2ENR_SYSCFGEN); \ UNUSED(tmpreg); \ } while(0)
定义于文件 stm32g4xx_hal_rcc.h的第 1099行。
被以下函数引用:HAL_GPIO_Init(), HAL_I2CEx_DisableFastModePlus(), HAL_I2CEx_EnableFastModePlus(), HAL_OPAMP_Init(), HAL_SMBUSEx_DisableFastModePlus(), and HAL_SMBUSEx_EnableFastModePlus()。