STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
APB1 Peripheral Clock Enable Disable Status

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

Collaboration diagram for APB1 Peripheral Clock Enable Disable Status:

Macros

#define __HAL_RCC_TIM2_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM3_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM4_IS_CLK_ENABLED()
 
#define __HAL_RCC_SPI3_IS_CLK_ENABLED()
 
#define __HAL_RCC_I2C3_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM6_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM7_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM12_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM13_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM14_IS_CLK_ENABLED()
 
#define __HAL_RCC_SPDIFRX_IS_CLK_ENABLED()
 
#define __HAL_RCC_USART3_IS_CLK_ENABLED()
 
#define __HAL_RCC_UART4_IS_CLK_ENABLED()
 
#define __HAL_RCC_UART5_IS_CLK_ENABLED()
 
#define __HAL_RCC_FMPI2C1_IS_CLK_ENABLED()
 
#define __HAL_RCC_CAN1_IS_CLK_ENABLED()
 
#define __HAL_RCC_CAN2_IS_CLK_ENABLED()
 
#define __HAL_RCC_CEC_IS_CLK_ENABLED()
 
#define __HAL_RCC_DAC_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM2_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM3_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM4_IS_CLK_DISABLED()
 
#define __HAL_RCC_SPI3_IS_CLK_DISABLED()
 
#define __HAL_RCC_I2C3_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM6_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM7_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM12_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM13_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM14_IS_CLK_DISABLED()
 
#define __HAL_RCC_SPDIFRX_IS_CLK_DISABLED()
 
#define __HAL_RCC_USART3_IS_CLK_DISABLED()
 
#define __HAL_RCC_UART4_IS_CLK_DISABLED()
 
#define __HAL_RCC_UART5_IS_CLK_DISABLED()
 
#define __HAL_RCC_FMPI2C1_IS_CLK_DISABLED()
 
#define __HAL_RCC_CAN1_IS_CLK_DISABLED()
 
#define __HAL_RCC_CAN2_IS_CLK_DISABLED()
 
#define __HAL_RCC_CEC_IS_CLK_DISABLED()
 
#define __HAL_RCC_DAC_IS_CLK_DISABLED()
 

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.

Macro Definition Documentation

◆ __HAL_RCC_TIM2_IS_CLK_ENABLED

#define __HAL_RCC_TIM2_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM2EN)) != RESET)

Definition at line 4333 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM3_IS_CLK_ENABLED

#define __HAL_RCC_TIM3_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM3EN)) != RESET)

Definition at line 4334 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM4_IS_CLK_ENABLED

#define __HAL_RCC_TIM4_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) != RESET)

Definition at line 4335 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SPI3_IS_CLK_ENABLED

#define __HAL_RCC_SPI3_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_SPI3EN)) != RESET)

Definition at line 4336 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_I2C3_IS_CLK_ENABLED

#define __HAL_RCC_I2C3_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_I2C3EN)) != RESET)

Definition at line 4337 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM6_IS_CLK_ENABLED

#define __HAL_RCC_TIM6_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM6EN)) != RESET)

Definition at line 4338 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM7_IS_CLK_ENABLED

#define __HAL_RCC_TIM7_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM7EN)) != RESET)

Definition at line 4339 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM12_IS_CLK_ENABLED

#define __HAL_RCC_TIM12_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM12EN)) != RESET)

Definition at line 4340 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM13_IS_CLK_ENABLED

#define __HAL_RCC_TIM13_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM13EN)) != RESET)

Definition at line 4341 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM14_IS_CLK_ENABLED

#define __HAL_RCC_TIM14_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM14EN)) != RESET)

Definition at line 4342 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SPDIFRX_IS_CLK_ENABLED

#define __HAL_RCC_SPDIFRX_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_SPDIFRXEN)) != RESET)

Definition at line 4343 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_USART3_IS_CLK_ENABLED

#define __HAL_RCC_USART3_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) != RESET)

Definition at line 4344 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_UART4_IS_CLK_ENABLED

#define __HAL_RCC_UART4_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_UART4EN)) != RESET)

Definition at line 4345 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_UART5_IS_CLK_ENABLED

#define __HAL_RCC_UART5_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_UART5EN)) != RESET)

Definition at line 4346 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_FMPI2C1_IS_CLK_ENABLED

#define __HAL_RCC_FMPI2C1_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_FMPI2C1EN)) != RESET)

Definition at line 4347 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_CAN1_IS_CLK_ENABLED

#define __HAL_RCC_CAN1_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) != RESET)

Definition at line 4348 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_CAN2_IS_CLK_ENABLED

#define __HAL_RCC_CAN2_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_CAN2EN)) != RESET)

Definition at line 4349 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_CEC_IS_CLK_ENABLED

#define __HAL_RCC_CEC_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_CECEN)) != RESET)

Definition at line 4350 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_DAC_IS_CLK_ENABLED

#define __HAL_RCC_DAC_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_DACEN)) != RESET)

Definition at line 4351 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM2_IS_CLK_DISABLED

#define __HAL_RCC_TIM2_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM2EN)) == RESET)

Definition at line 4353 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM3_IS_CLK_DISABLED

#define __HAL_RCC_TIM3_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM3EN)) == RESET)

Definition at line 4354 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM4_IS_CLK_DISABLED

#define __HAL_RCC_TIM4_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) == RESET)

Definition at line 4355 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SPI3_IS_CLK_DISABLED

#define __HAL_RCC_SPI3_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_SPI3EN)) == RESET)

Definition at line 4356 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_I2C3_IS_CLK_DISABLED

#define __HAL_RCC_I2C3_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_I2C3EN)) == RESET)

Definition at line 4357 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM6_IS_CLK_DISABLED

#define __HAL_RCC_TIM6_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM6EN)) == RESET)

Definition at line 4358 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM7_IS_CLK_DISABLED

#define __HAL_RCC_TIM7_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM7EN)) == RESET)

Definition at line 4359 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM12_IS_CLK_DISABLED

#define __HAL_RCC_TIM12_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM12EN)) == RESET)

Definition at line 4360 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM13_IS_CLK_DISABLED

#define __HAL_RCC_TIM13_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM13EN)) == RESET)

Definition at line 4361 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM14_IS_CLK_DISABLED

#define __HAL_RCC_TIM14_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_TIM14EN)) == RESET)

Definition at line 4362 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SPDIFRX_IS_CLK_DISABLED

#define __HAL_RCC_SPDIFRX_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_SPDIFRXEN)) == RESET)

Definition at line 4363 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_USART3_IS_CLK_DISABLED

#define __HAL_RCC_USART3_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) == RESET)

Definition at line 4364 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_UART4_IS_CLK_DISABLED

#define __HAL_RCC_UART4_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_UART4EN)) == RESET)

Definition at line 4365 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_UART5_IS_CLK_DISABLED

#define __HAL_RCC_UART5_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_UART5EN)) == RESET)

Definition at line 4366 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_FMPI2C1_IS_CLK_DISABLED

#define __HAL_RCC_FMPI2C1_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_FMPI2C1EN)) == RESET)

Definition at line 4367 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_CAN1_IS_CLK_DISABLED

#define __HAL_RCC_CAN1_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) == RESET)

Definition at line 4368 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_CAN2_IS_CLK_DISABLED

#define __HAL_RCC_CAN2_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_CAN2EN)) == RESET)

Definition at line 4369 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_CEC_IS_CLK_DISABLED

#define __HAL_RCC_CEC_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_CECEN)) == RESET)

Definition at line 4370 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_DAC_IS_CLK_DISABLED

#define __HAL_RCC_DAC_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB1ENR & (RCC_APB1ENR_DACEN)) == RESET)

Definition at line 4371 of file stm32f4xx_hal_rcc_ex.h.