mikroSDK Reference Manual
|
Enable or disable the AHB1 peripheral clock. More...
Macros | |
#define | __HAL_RCC_BKPSRAM_CLK_ENABLE() |
Enables or disables the AHB1 peripheral clock. | |
#define | __HAL_RCC_DTCMRAMEN_CLK_ENABLE() |
#define | __HAL_RCC_DMA2_CLK_ENABLE() |
#define | __HAL_RCC_USB_OTG_HS_CLK_ENABLE() |
#define | __HAL_RCC_USB_OTG_HS_ULPI_CLK_ENABLE() |
#define | __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | __HAL_RCC_GPIOC_CLK_ENABLE() |
#define | __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | __HAL_RCC_GPIOE_CLK_ENABLE() |
#define | __HAL_RCC_GPIOF_CLK_ENABLE() |
#define | __HAL_RCC_GPIOG_CLK_ENABLE() |
#define | __HAL_RCC_GPIOH_CLK_ENABLE() |
#define | __HAL_RCC_GPIOI_CLK_ENABLE() |
#define | __HAL_RCC_BKPSRAM_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_BKPSRAMEN)) |
#define | __HAL_RCC_DTCMRAMEN_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_DTCMRAMEN)) |
#define | __HAL_RCC_DMA2_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_DMA2EN)) |
#define | __HAL_RCC_USB_OTG_HS_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_OTGHSEN)) |
#define | __HAL_RCC_USB_OTG_HS_ULPI_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_OTGHSULPIEN)) |
#define | __HAL_RCC_GPIOA_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIOAEN)) |
#define | __HAL_RCC_GPIOB_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIOBEN)) |
#define | __HAL_RCC_GPIOC_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIOCEN)) |
#define | __HAL_RCC_GPIOD_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIODEN)) |
#define | __HAL_RCC_GPIOE_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIOEEN)) |
#define | __HAL_RCC_GPIOF_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIOFEN)) |
#define | __HAL_RCC_GPIOG_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIOGEN)) |
#define | __HAL_RCC_GPIOH_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIOHEN)) |
#define | __HAL_RCC_GPIOI_CLK_DISABLE() (RCC->AHB1ENR &= ~(RCC_AHB1ENR_GPIOIEN)) |
#define | __HAL_RCC_RNG_CLK_ENABLE() |
Enable or disable the AHB2 peripheral clock. | |
#define | __HAL_RCC_USB_OTG_FS_CLK_ENABLE() |
#define | __HAL_RCC_RNG_CLK_DISABLE() (RCC->AHB2ENR &= ~(RCC_AHB2ENR_RNGEN)) |
#define | __HAL_RCC_USB_OTG_FS_CLK_DISABLE() (RCC->AHB2ENR &= ~(RCC_AHB2ENR_OTGFSEN)) |
#define | __HAL_RCC_FMC_CLK_ENABLE() |
Enables or disables the AHB3 peripheral clock. | |
#define | __HAL_RCC_QSPI_CLK_ENABLE() |
#define | __HAL_RCC_FMC_CLK_DISABLE() (RCC->AHB3ENR &= ~(RCC_AHB3ENR_FMCEN)) |
#define | __HAL_RCC_QSPI_CLK_DISABLE() (RCC->AHB3ENR &= ~(RCC_AHB3ENR_QSPIEN)) |
#define | __HAL_RCC_TIM2_CLK_ENABLE() |
Enable or disable the Low Speed APB (APB1) peripheral clock. | |
#define | __HAL_RCC_TIM3_CLK_ENABLE() |
#define | __HAL_RCC_TIM4_CLK_ENABLE() |
#define | __HAL_RCC_TIM5_CLK_ENABLE() |
#define | __HAL_RCC_TIM6_CLK_ENABLE() |
#define | __HAL_RCC_TIM7_CLK_ENABLE() |
#define | __HAL_RCC_TIM12_CLK_ENABLE() |
#define | __HAL_RCC_TIM13_CLK_ENABLE() |
#define | __HAL_RCC_TIM14_CLK_ENABLE() |
#define | __HAL_RCC_LPTIM1_CLK_ENABLE() |
#define | __HAL_RCC_SPI2_CLK_ENABLE() |
#define | __HAL_RCC_SPI3_CLK_ENABLE() |
#define | __HAL_RCC_USART2_CLK_ENABLE() |
#define | __HAL_RCC_USART3_CLK_ENABLE() |
#define | __HAL_RCC_UART4_CLK_ENABLE() |
#define | __HAL_RCC_UART5_CLK_ENABLE() |
#define | __HAL_RCC_I2C1_CLK_ENABLE() |
#define | __HAL_RCC_I2C2_CLK_ENABLE() |
#define | __HAL_RCC_I2C3_CLK_ENABLE() |
#define | __HAL_RCC_CAN1_CLK_ENABLE() |
#define | __HAL_RCC_DAC_CLK_ENABLE() |
#define | __HAL_RCC_UART7_CLK_ENABLE() |
#define | __HAL_RCC_UART8_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_TIM4_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM4EN)) |
#define | __HAL_RCC_TIM5_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM5EN)) |
#define | __HAL_RCC_TIM6_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM6EN)) |
#define | __HAL_RCC_TIM7_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM7EN)) |
#define | __HAL_RCC_TIM12_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM12EN)) |
#define | __HAL_RCC_TIM13_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM13EN)) |
#define | __HAL_RCC_TIM14_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM14EN)) |
#define | __HAL_RCC_LPTIM1_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_LPTIM1EN)) |
#define | __HAL_RCC_SPI2_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_SPI2EN)) |
#define | __HAL_RCC_SPI3_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_SPI3EN)) |
#define | __HAL_RCC_USART2_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_USART2EN)) |
#define | __HAL_RCC_USART3_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_USART3EN)) |
#define | __HAL_RCC_UART4_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_UART4EN)) |
#define | __HAL_RCC_UART5_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_UART5EN)) |
#define | __HAL_RCC_I2C1_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_I2C1EN)) |
#define | __HAL_RCC_I2C2_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_I2C2EN)) |
#define | __HAL_RCC_I2C3_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_I2C3EN)) |
#define | __HAL_RCC_CAN1_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_CAN1EN)) |
#define | __HAL_RCC_DAC_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_DACEN)) |
#define | __HAL_RCC_UART7_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_UART7EN)) |
#define | __HAL_RCC_UART8_CLK_DISABLE() (RCC->APB1ENR &= ~(RCC_APB1ENR_UART8EN)) |
#define | __HAL_RCC_TIM1_CLK_ENABLE() |
Enable or disable the High Speed APB (APB2) peripheral clock. | |
#define | __HAL_RCC_TIM8_CLK_ENABLE() |
#define | __HAL_RCC_USART1_CLK_ENABLE() |
#define | __HAL_RCC_USART6_CLK_ENABLE() |
#define | __HAL_RCC_ADC1_CLK_ENABLE() |
#define | __HAL_RCC_ADC2_CLK_ENABLE() |
#define | __HAL_RCC_ADC3_CLK_ENABLE() |
#define | __HAL_RCC_SDMMC1_CLK_ENABLE() |
#define | __HAL_RCC_SPI1_CLK_ENABLE() |
#define | __HAL_RCC_SPI4_CLK_ENABLE() |
#define | __HAL_RCC_TIM9_CLK_ENABLE() |
#define | __HAL_RCC_TIM10_CLK_ENABLE() |
#define | __HAL_RCC_TIM11_CLK_ENABLE() |
#define | __HAL_RCC_SPI5_CLK_ENABLE() |
#define | __HAL_RCC_SPI6_CLK_ENABLE() |
#define | __HAL_RCC_SAI1_CLK_ENABLE() |
#define | __HAL_RCC_SAI2_CLK_ENABLE() |
#define | __HAL_RCC_TIM1_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_TIM1EN)) |
#define | __HAL_RCC_TIM8_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_TIM8EN)) |
#define | __HAL_RCC_USART1_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_USART1EN)) |
#define | __HAL_RCC_USART6_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_USART6EN)) |
#define | __HAL_RCC_ADC1_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_ADC1EN)) |
#define | __HAL_RCC_ADC2_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_ADC2EN)) |
#define | __HAL_RCC_ADC3_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_ADC3EN)) |
#define | __HAL_RCC_SDMMC1_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_SDMMC1EN)) |
#define | __HAL_RCC_SPI1_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_SPI1EN)) |
#define | __HAL_RCC_SPI4_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_SPI4EN)) |
#define | __HAL_RCC_TIM9_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_TIM9EN)) |
#define | __HAL_RCC_TIM10_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_TIM10EN)) |
#define | __HAL_RCC_TIM11_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_TIM11EN)) |
#define | __HAL_RCC_SPI5_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_SPI5EN)) |
#define | __HAL_RCC_SPI6_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_SPI6EN)) |
#define | __HAL_RCC_SAI1_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_SAI1EN)) |
#define | __HAL_RCC_SAI2_CLK_DISABLE() (RCC->APB2ENR &= ~(RCC_APB2ENR_SAI2EN)) |
#define __HAL_RCC_ADC1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_ADC2_CLK_ENABLE | ( | ) |
#define __HAL_RCC_ADC3_CLK_ENABLE | ( | ) |
#define __HAL_RCC_BKPSRAM_CLK_ENABLE | ( | ) |
#define __HAL_RCC_CAN1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_DAC_CLK_ENABLE | ( | ) |
#define __HAL_RCC_DMA2_CLK_ENABLE | ( | ) |
#define __HAL_RCC_DTCMRAMEN_CLK_ENABLE | ( | ) |
#define __HAL_RCC_FMC_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOA_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOB_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOC_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOD_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOE_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOF_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOG_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOH_CLK_ENABLE | ( | ) |
#define __HAL_RCC_GPIOI_CLK_ENABLE | ( | ) |
#define __HAL_RCC_I2C1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_I2C2_CLK_ENABLE | ( | ) |
#define __HAL_RCC_I2C3_CLK_ENABLE | ( | ) |
#define __HAL_RCC_LPTIM1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_QSPI_CLK_ENABLE | ( | ) |
#define __HAL_RCC_RNG_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SAI1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SAI2_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SDMMC1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SPI1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SPI2_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SPI3_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SPI4_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SPI5_CLK_ENABLE | ( | ) |
#define __HAL_RCC_SPI6_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM10_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM11_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM12_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM13_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM14_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM2_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM3_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM4_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM5_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM6_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM7_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM8_CLK_ENABLE | ( | ) |
#define __HAL_RCC_TIM9_CLK_ENABLE | ( | ) |
#define __HAL_RCC_UART4_CLK_ENABLE | ( | ) |
#define __HAL_RCC_UART5_CLK_ENABLE | ( | ) |
#define __HAL_RCC_UART7_CLK_ENABLE | ( | ) |
#define __HAL_RCC_UART8_CLK_ENABLE | ( | ) |
#define __HAL_RCC_USART1_CLK_ENABLE | ( | ) |
#define __HAL_RCC_USART2_CLK_ENABLE | ( | ) |
#define __HAL_RCC_USART3_CLK_ENABLE | ( | ) |
#define __HAL_RCC_USART6_CLK_ENABLE | ( | ) |
#define __HAL_RCC_USB_OTG_FS_CLK_ENABLE | ( | ) |
#define __HAL_RCC_USB_OTG_HS_CLK_ENABLE | ( | ) |
#define __HAL_RCC_USB_OTG_HS_ULPI_CLK_ENABLE | ( | ) |