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

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

Collaboration diagram for APB2 Peripheral Clock Enable Disable Status:

Macros

#define __HAL_RCC_SDIO_IS_CLK_ENABLED()
 
#define __HAL_RCC_SPI4_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM10_IS_CLK_ENABLED()
 
#define __HAL_RCC_TIM8_IS_CLK_ENABLED()
 
#define __HAL_RCC_ADC2_IS_CLK_ENABLED()
 
#define __HAL_RCC_ADC3_IS_CLK_ENABLED()
 
#define __HAL_RCC_SAI1_IS_CLK_ENABLED()
 
#define __HAL_RCC_SAI2_IS_CLK_ENABLED()
 
#define __HAL_RCC_SDIO_IS_CLK_DISABLED()
 
#define __HAL_RCC_SPI4_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM10_IS_CLK_DISABLED()
 
#define __HAL_RCC_TIM8_IS_CLK_DISABLED()
 
#define __HAL_RCC_ADC2_IS_CLK_DISABLED()
 
#define __HAL_RCC_ADC3_IS_CLK_DISABLED()
 
#define __HAL_RCC_SAI1_IS_CLK_DISABLED()
 
#define __HAL_RCC_SAI2_IS_CLK_DISABLED()
 

Detailed Description

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

#define __HAL_RCC_SDIO_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_SDIOEN)) != RESET)

Definition at line 4458 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SPI4_IS_CLK_ENABLED

#define __HAL_RCC_SPI4_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_SPI4EN)) != RESET)

Definition at line 4459 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM10_IS_CLK_ENABLED

#define __HAL_RCC_TIM10_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_TIM10EN)) != RESET)

Definition at line 4460 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM8_IS_CLK_ENABLED

#define __HAL_RCC_TIM8_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_TIM8EN)) != RESET)

Definition at line 4461 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_ADC2_IS_CLK_ENABLED

#define __HAL_RCC_ADC2_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_ADC2EN)) != RESET)

Definition at line 4462 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_ADC3_IS_CLK_ENABLED

#define __HAL_RCC_ADC3_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_ADC3EN)) != RESET)

Definition at line 4463 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SAI1_IS_CLK_ENABLED

#define __HAL_RCC_SAI1_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_SAI1EN)) != RESET)

Definition at line 4464 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SAI2_IS_CLK_ENABLED

#define __HAL_RCC_SAI2_IS_CLK_ENABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_SAI2EN)) != RESET)

Definition at line 4465 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SDIO_IS_CLK_DISABLED

#define __HAL_RCC_SDIO_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_SDIOEN)) == RESET)

Definition at line 4467 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SPI4_IS_CLK_DISABLED

#define __HAL_RCC_SPI4_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_SPI4EN)) == RESET)

Definition at line 4468 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM10_IS_CLK_DISABLED

#define __HAL_RCC_TIM10_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_TIM10EN)) == RESET)

Definition at line 4469 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_TIM8_IS_CLK_DISABLED

#define __HAL_RCC_TIM8_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_TIM8EN)) == RESET)

Definition at line 4470 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_ADC2_IS_CLK_DISABLED

#define __HAL_RCC_ADC2_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_ADC2EN)) == RESET)

Definition at line 4471 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_ADC3_IS_CLK_DISABLED

#define __HAL_RCC_ADC3_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_ADC3EN)) == RESET)

Definition at line 4472 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SAI1_IS_CLK_DISABLED

#define __HAL_RCC_SAI1_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_SAI1EN)) == RESET)

Definition at line 4473 of file stm32f4xx_hal_rcc_ex.h.

◆ __HAL_RCC_SAI2_IS_CLK_DISABLED

#define __HAL_RCC_SAI2_IS_CLK_DISABLED ( )

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((RCC->APB2ENR & (RCC_APB2ENR_SAI2EN)) == RESET)

Definition at line 4474 of file stm32f4xx_hal_rcc_ex.h.