STM32L443xx HAL User Manual
Defines
AHB1 Peripheral Clock Enabled or Disabled Status
RCC Exported Macros

Check whether the AHB1 peripheral clock is enabled or not. More...

Defines

#define __HAL_RCC_DMA1_IS_CLK_ENABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA1EN) != 0U)
#define __HAL_RCC_DMA2_IS_CLK_ENABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2EN) != 0U)
#define __HAL_RCC_FLASH_IS_CLK_ENABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_FLASHEN) != 0U)
#define __HAL_RCC_CRC_IS_CLK_ENABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_CRCEN) != 0U)
#define __HAL_RCC_TSC_IS_CLK_ENABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_TSCEN) != 0U)
#define __HAL_RCC_DMA1_IS_CLK_DISABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA1EN) == 0U)
#define __HAL_RCC_DMA2_IS_CLK_DISABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2EN) == 0U)
#define __HAL_RCC_FLASH_IS_CLK_DISABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_FLASHEN) == 0U)
#define __HAL_RCC_CRC_IS_CLK_DISABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_CRCEN) == 0U)
#define __HAL_RCC_TSC_IS_CLK_DISABLED()   (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_TSCEN) == 0U)

Detailed Description

Check whether the AHB1 peripheral clock is enabled or not.

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.

Define Documentation

#define __HAL_RCC_CRC_IS_CLK_DISABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_CRCEN) == 0U)

Definition at line 1679 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_CRC_IS_CLK_ENABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_CRCEN) != 0U)

Definition at line 1656 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_DMA1_IS_CLK_DISABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA1EN) == 0U)

Definition at line 1669 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_DMA1_IS_CLK_ENABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA1EN) != 0U)

Definition at line 1646 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_DMA2_IS_CLK_DISABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2EN) == 0U)

Definition at line 1671 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_DMA2_IS_CLK_ENABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2EN) != 0U)

Definition at line 1648 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_FLASH_IS_CLK_DISABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_FLASHEN) == 0U)

Definition at line 1677 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_FLASH_IS_CLK_ENABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_FLASHEN) != 0U)

Definition at line 1654 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_TSC_IS_CLK_DISABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_TSCEN) == 0U)

Definition at line 1681 of file stm32l4xx_hal_rcc.h.

#define __HAL_RCC_TSC_IS_CLK_ENABLED ( )    (READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_TSCEN) != 0U)

Definition at line 1658 of file stm32l4xx_hal_rcc.h.