STM32F103xB HAL User Manual
|
Get the enable or disable status of the APB1 peripheral clock. More...
Defines | |
#define | __HAL_RCC_CAN1_IS_CLK_ENABLED() ((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) != RESET) |
#define | __HAL_RCC_CAN1_IS_CLK_DISABLED() ((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) == RESET) |
#define | __HAL_RCC_TIM4_IS_CLK_ENABLED() ((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) != RESET) |
#define | __HAL_RCC_TIM4_IS_CLK_DISABLED() ((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) == RESET) |
#define | __HAL_RCC_SPI2_IS_CLK_ENABLED() ((RCC->APB1ENR & (RCC_APB1ENR_SPI2EN)) != RESET) |
#define | __HAL_RCC_SPI2_IS_CLK_DISABLED() ((RCC->APB1ENR & (RCC_APB1ENR_SPI2EN)) == RESET) |
#define | __HAL_RCC_USART3_IS_CLK_ENABLED() ((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) != RESET) |
#define | __HAL_RCC_USART3_IS_CLK_DISABLED() ((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) == RESET) |
#define | __HAL_RCC_I2C2_IS_CLK_ENABLED() ((RCC->APB1ENR & (RCC_APB1ENR_I2C2EN)) != RESET) |
#define | __HAL_RCC_I2C2_IS_CLK_DISABLED() ((RCC->APB1ENR & (RCC_APB1ENR_I2C2EN)) == RESET) |
#define | __HAL_RCC_USB_IS_CLK_ENABLED() ((RCC->APB1ENR & (RCC_APB1ENR_USBEN)) != RESET) |
#define | __HAL_RCC_USB_IS_CLK_DISABLED() ((RCC->APB1ENR & (RCC_APB1ENR_USBEN)) == RESET) |
Get the enable or disable status of the APB1 peripheral clock.
#define __HAL_RCC_CAN1_IS_CLK_DISABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) == RESET) |
Definition at line 1076 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_CAN1_IS_CLK_ENABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_CAN1EN)) != RESET) |
Definition at line 1075 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_I2C2_IS_CLK_DISABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_I2C2EN)) == RESET) |
Definition at line 1089 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_I2C2_IS_CLK_ENABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_I2C2EN)) != RESET) |
Definition at line 1088 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_SPI2_IS_CLK_DISABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_SPI2EN)) == RESET) |
Definition at line 1085 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_SPI2_IS_CLK_ENABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_SPI2EN)) != RESET) |
Definition at line 1084 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_TIM4_IS_CLK_DISABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) == RESET) |
Definition at line 1083 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_TIM4_IS_CLK_ENABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_TIM4EN)) != RESET) |
Definition at line 1082 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_USART3_IS_CLK_DISABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) == RESET) |
Definition at line 1087 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_USART3_IS_CLK_ENABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_USART3EN)) != RESET) |
Definition at line 1086 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_USB_IS_CLK_DISABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_USBEN)) == RESET) |
Definition at line 1094 of file stm32f1xx_hal_rcc_ex.h.
#define __HAL_RCC_USB_IS_CLK_ENABLED | ( | ) | ((RCC->APB1ENR & (RCC_APB1ENR_USBEN)) != RESET) |
Definition at line 1093 of file stm32f1xx_hal_rcc_ex.h.