APB1_peripheral
[RCC_Exported_Constants]

Defines

#define IS_RCC_APB1_PERIPH(PERIPH)   ((((PERIPH) & 0x81013600) == 0x00) && ((PERIPH) != 0x00))
#define RCC_APB1Periph_BKP   ((uint32_t)0x08000000)
#define RCC_APB1Periph_CAN1   ((uint32_t)0x02000000)
#define RCC_APB1Periph_CAN2   ((uint32_t)0x04000000)
#define RCC_APB1Periph_CEC   ((uint32_t)0x40000000)
#define RCC_APB1Periph_DAC   ((uint32_t)0x20000000)
#define RCC_APB1Periph_I2C1   ((uint32_t)0x00200000)
#define RCC_APB1Periph_I2C2   ((uint32_t)0x00400000)
#define RCC_APB1Periph_PWR   ((uint32_t)0x10000000)
#define RCC_APB1Periph_SPI2   ((uint32_t)0x00004000)
#define RCC_APB1Periph_SPI3   ((uint32_t)0x00008000)
#define RCC_APB1Periph_TIM12   ((uint32_t)0x00000040)
#define RCC_APB1Periph_TIM13   ((uint32_t)0x00000080)
#define RCC_APB1Periph_TIM14   ((uint32_t)0x00000100)
#define RCC_APB1Periph_TIM2   ((uint32_t)0x00000001)
#define RCC_APB1Periph_TIM3   ((uint32_t)0x00000002)
#define RCC_APB1Periph_TIM4   ((uint32_t)0x00000004)
#define RCC_APB1Periph_TIM5   ((uint32_t)0x00000008)
#define RCC_APB1Periph_TIM6   ((uint32_t)0x00000010)
#define RCC_APB1Periph_TIM7   ((uint32_t)0x00000020)
#define RCC_APB1Periph_UART4   ((uint32_t)0x00080000)
#define RCC_APB1Periph_UART5   ((uint32_t)0x00100000)
#define RCC_APB1Periph_USART2   ((uint32_t)0x00020000)
#define RCC_APB1Periph_USART3   ((uint32_t)0x00040000)
#define RCC_APB1Periph_USB   ((uint32_t)0x00800000)
#define RCC_APB1Periph_WWDG   ((uint32_t)0x00000800)

Define Documentation

#define IS_RCC_APB1_PERIPH ( PERIPH   )     ((((PERIPH) & 0x81013600) == 0x00) && ((PERIPH) != 0x00))

Definition at line 553 of file stm32f10x_rcc.h.

Referenced by RCC_APB1PeriphClockCmd(), and RCC_APB1PeriphResetCmd().

#define RCC_APB1Periph_BKP   ((uint32_t)0x08000000)

Definition at line 548 of file stm32f10x_rcc.h.

Referenced by main(), and RTC_Configuration().

#define RCC_APB1Periph_CAN1   ((uint32_t)0x02000000)

Definition at line 546 of file stm32f10x_rcc.h.

Referenced by CAN_Config(), CAN_DeInit(), and main().

#define RCC_APB1Periph_CAN2   ((uint32_t)0x04000000)

Definition at line 547 of file stm32f10x_rcc.h.

Referenced by CAN_Config(), and CAN_DeInit().

#define RCC_APB1Periph_CEC   ((uint32_t)0x40000000)

Definition at line 551 of file stm32f10x_rcc.h.

Referenced by CEC_DeInit(), HDMI_CEC_Init(), and RCC_Configuration().

#define RCC_APB1Periph_DAC   ((uint32_t)0x20000000)

Definition at line 550 of file stm32f10x_rcc.h.

Referenced by DAC_DeInit(), and RCC_Configuration().

#define RCC_APB1Periph_I2C1   ((uint32_t)0x00200000)

Definition at line 543 of file stm32f10x_rcc.h.

Referenced by I2C_DeInit(), and RCC_Configuration().

#define RCC_APB1Periph_I2C2   ((uint32_t)0x00400000)

Definition at line 544 of file stm32f10x_rcc.h.

Referenced by I2C_DeInit(), and RCC_Configuration().

#define RCC_APB1Periph_PWR   ((uint32_t)0x10000000)

Definition at line 549 of file stm32f10x_rcc.h.

Referenced by main(), PWR_DeInit(), and RTC_Configuration().

#define RCC_APB1Periph_SPI2   ((uint32_t)0x00004000)

Definition at line 537 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and SPI_I2S_DeInit().

#define RCC_APB1Periph_SPI3   ((uint32_t)0x00008000)

Definition at line 538 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and SPI_I2S_DeInit().

#define RCC_APB1Periph_TIM12   ((uint32_t)0x00000040)

Definition at line 533 of file stm32f10x_rcc.h.

Referenced by TIM_DeInit().

#define RCC_APB1Periph_TIM13   ((uint32_t)0x00000080)

Definition at line 534 of file stm32f10x_rcc.h.

Referenced by TIM_DeInit().

#define RCC_APB1Periph_TIM14   ((uint32_t)0x00000100)

Definition at line 535 of file stm32f10x_rcc.h.

Referenced by TIM_DeInit().

#define RCC_APB1Periph_TIM2   ((uint32_t)0x00000001)

Definition at line 527 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and TIM_DeInit().

#define RCC_APB1Periph_TIM3   ((uint32_t)0x00000002)

Definition at line 528 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and TIM_DeInit().

#define RCC_APB1Periph_TIM4   ((uint32_t)0x00000004)

Definition at line 529 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and TIM_DeInit().

#define RCC_APB1Periph_TIM5   ((uint32_t)0x00000008)

Definition at line 530 of file stm32f10x_rcc.h.

Referenced by main(), and TIM_DeInit().

#define RCC_APB1Periph_TIM6   ((uint32_t)0x00000010)

Definition at line 531 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and TIM_DeInit().

#define RCC_APB1Periph_TIM7   ((uint32_t)0x00000020)

Definition at line 532 of file stm32f10x_rcc.h.

Referenced by TIM_DeInit().

#define RCC_APB1Periph_UART4   ((uint32_t)0x00080000)

Definition at line 541 of file stm32f10x_rcc.h.

Referenced by USART_DeInit().

#define RCC_APB1Periph_UART5   ((uint32_t)0x00100000)

Definition at line 542 of file stm32f10x_rcc.h.

Referenced by USART_DeInit().

#define RCC_APB1Periph_USART2   ((uint32_t)0x00020000)

Definition at line 539 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and USART_DeInit().

#define RCC_APB1Periph_USART3   ((uint32_t)0x00040000)

Definition at line 540 of file stm32f10x_rcc.h.

Referenced by USART_DeInit().

#define RCC_APB1Periph_USB   ((uint32_t)0x00800000)

Definition at line 545 of file stm32f10x_rcc.h.

#define RCC_APB1Periph_WWDG   ((uint32_t)0x00000800)

Definition at line 536 of file stm32f10x_rcc.h.

Referenced by main(), and WWDG_DeInit().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32