STM32F439xx HAL User Manual
Defines
APB1 Peripheral Clock Enable Disable Status
RCCEx Exported Macros

Get the enable or disable status of the APB1 peripheral clock. More...

Defines

#define __HAL_RCC_TIM2_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM2EN)) != RESET)
#define __HAL_RCC_TIM3_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM3EN)) != RESET)
#define __HAL_RCC_TIM4_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) != RESET)
#define __HAL_RCC_SPI3_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_SPI3EN)) != RESET)
#define __HAL_RCC_I2C3_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_I2C3EN)) != RESET)
#define __HAL_RCC_TIM6_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM6EN)) != RESET)
#define __HAL_RCC_TIM7_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM7EN)) != RESET)
#define __HAL_RCC_TIM12_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM12EN)) != RESET)
#define __HAL_RCC_TIM13_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM13EN)) != RESET)
#define __HAL_RCC_TIM14_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM14EN)) != RESET)
#define __HAL_RCC_USART3_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) != RESET)
#define __HAL_RCC_UART4_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_UART4EN)) != RESET)
#define __HAL_RCC_UART5_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_UART5EN)) != RESET)
#define __HAL_RCC_CAN1_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) != RESET)
#define __HAL_RCC_CAN2_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_CAN2EN)) != RESET)
#define __HAL_RCC_DAC_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_DACEN)) != RESET)
#define __HAL_RCC_UART7_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_UART7EN)) != RESET)
#define __HAL_RCC_UART8_IS_CLK_ENABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_UART8EN)) != RESET)
#define __HAL_RCC_TIM2_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM2EN)) == RESET)
#define __HAL_RCC_TIM3_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM3EN)) == RESET)
#define __HAL_RCC_TIM4_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) == RESET)
#define __HAL_RCC_SPI3_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_SPI3EN)) == RESET)
#define __HAL_RCC_I2C3_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_I2C3EN)) == RESET)
#define __HAL_RCC_TIM6_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM6EN)) == RESET)
#define __HAL_RCC_TIM7_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM7EN)) == RESET)
#define __HAL_RCC_TIM12_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM12EN)) == RESET)
#define __HAL_RCC_TIM13_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM13EN)) == RESET)
#define __HAL_RCC_TIM14_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_TIM14EN)) == RESET)
#define __HAL_RCC_USART3_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) == RESET)
#define __HAL_RCC_UART4_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_UART4EN)) == RESET)
#define __HAL_RCC_UART5_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_UART5EN)) == RESET)
#define __HAL_RCC_CAN1_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) == RESET)
#define __HAL_RCC_CAN2_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_CAN2EN)) == RESET)
#define __HAL_RCC_DAC_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_DACEN)) == RESET)
#define __HAL_RCC_UART7_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_UART7EN)) == RESET)
#define __HAL_RCC_UART8_IS_CLK_DISABLED()   ((RCC->APB1ENR & (RCC_APB1ENR_UART8EN)) == RESET)

Detailed Description

Get the enable or disable status of the 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.

Define Documentation

#define __HAL_RCC_CAN1_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) == RESET)

Definition at line 1526 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_CAN1_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) != RESET)

Definition at line 1507 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_CAN2_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_CAN2EN)) == RESET)

Definition at line 1527 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_CAN2_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_CAN2EN)) != RESET)

Definition at line 1508 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_DAC_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_DACEN)) == RESET)

Definition at line 1528 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_DAC_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_DACEN)) != RESET)

Definition at line 1509 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_I2C3_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_I2C3EN)) == RESET)

Definition at line 1517 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_I2C3_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_I2C3EN)) != RESET)

Definition at line 1498 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_SPI3_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_SPI3EN)) == RESET)

Definition at line 1516 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_SPI3_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_SPI3EN)) != RESET)

Definition at line 1497 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM12_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM12EN)) == RESET)

Definition at line 1520 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM12_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM12EN)) != RESET)

Definition at line 1501 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM13_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM13EN)) == RESET)

Definition at line 1521 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM13_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM13EN)) != RESET)

Definition at line 1502 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM14_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM14EN)) == RESET)

Definition at line 1522 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM14_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM14EN)) != RESET)

Definition at line 1503 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM2_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM2EN)) == RESET)

Definition at line 1513 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM2_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM2EN)) != RESET)

Definition at line 1494 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM3_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM3EN)) == RESET)

Definition at line 1514 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM3_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM3EN)) != RESET)

Definition at line 1495 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM4_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) == RESET)

Definition at line 1515 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM4_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) != RESET)

Definition at line 1496 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM6_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM6EN)) == RESET)

Definition at line 1518 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM6_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM6EN)) != RESET)

Definition at line 1499 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM7_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM7EN)) == RESET)

Definition at line 1519 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_TIM7_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_TIM7EN)) != RESET)

Definition at line 1500 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART4_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_UART4EN)) == RESET)

Definition at line 1524 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART4_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_UART4EN)) != RESET)

Definition at line 1505 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART5_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_UART5EN)) == RESET)

Definition at line 1525 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART5_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_UART5EN)) != RESET)

Definition at line 1506 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART7_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_UART7EN)) == RESET)

Definition at line 1529 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART7_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_UART7EN)) != RESET)

Definition at line 1510 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART8_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_UART8EN)) == RESET)

Definition at line 1530 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_UART8_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_UART8EN)) != RESET)

Definition at line 1511 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_USART3_IS_CLK_DISABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) == RESET)

Definition at line 1523 of file stm32f4xx_hal_rcc_ex.h.

#define __HAL_RCC_USART3_IS_CLK_ENABLED ( )    ((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) != RESET)

Definition at line 1504 of file stm32f4xx_hal_rcc_ex.h.