APB2_peripheral
[RCC_Exported_Constants]

Defines

#define IS_RCC_APB2_PERIPH(PERIPH)   ((((PERIPH) & 0xFFC00002) == 0x00) && ((PERIPH) != 0x00))
#define RCC_APB2Periph_ADC1   ((uint32_t)0x00000200)
#define RCC_APB2Periph_ADC2   ((uint32_t)0x00000400)
#define RCC_APB2Periph_ADC3   ((uint32_t)0x00008000)
#define RCC_APB2Periph_AFIO   ((uint32_t)0x00000001)
#define RCC_APB2Periph_GPIOA   ((uint32_t)0x00000004)
#define RCC_APB2Periph_GPIOB   ((uint32_t)0x00000008)
#define RCC_APB2Periph_GPIOC   ((uint32_t)0x00000010)
#define RCC_APB2Periph_GPIOD   ((uint32_t)0x00000020)
#define RCC_APB2Periph_GPIOE   ((uint32_t)0x00000040)
#define RCC_APB2Periph_GPIOF   ((uint32_t)0x00000080)
#define RCC_APB2Periph_GPIOG   ((uint32_t)0x00000100)
#define RCC_APB2Periph_SPI1   ((uint32_t)0x00001000)
#define RCC_APB2Periph_TIM1   ((uint32_t)0x00000800)
#define RCC_APB2Periph_TIM10   ((uint32_t)0x00100000)
#define RCC_APB2Periph_TIM11   ((uint32_t)0x00200000)
#define RCC_APB2Periph_TIM15   ((uint32_t)0x00010000)
#define RCC_APB2Periph_TIM16   ((uint32_t)0x00020000)
#define RCC_APB2Periph_TIM17   ((uint32_t)0x00040000)
#define RCC_APB2Periph_TIM8   ((uint32_t)0x00002000)
#define RCC_APB2Periph_TIM9   ((uint32_t)0x00080000)
#define RCC_APB2Periph_USART1   ((uint32_t)0x00004000)

Define Documentation

#define IS_RCC_APB2_PERIPH ( PERIPH   )     ((((PERIPH) & 0xFFC00002) == 0x00) && ((PERIPH) != 0x00))

Definition at line 518 of file stm32f10x_rcc.h.

Referenced by RCC_APB2PeriphClockCmd(), and RCC_APB2PeriphResetCmd().

#define RCC_APB2Periph_ADC1   ((uint32_t)0x00000200)

Definition at line 504 of file stm32f10x_rcc.h.

Referenced by ADC_DeInit(), and RCC_Configuration().

#define RCC_APB2Periph_ADC2   ((uint32_t)0x00000400)

Definition at line 505 of file stm32f10x_rcc.h.

Referenced by ADC_DeInit(), and RCC_Configuration().

#define RCC_APB2Periph_ADC3   ((uint32_t)0x00008000)

Definition at line 510 of file stm32f10x_rcc.h.

Referenced by ADC_DeInit(), and RCC_Configuration().

#define RCC_APB2Periph_AFIO   ((uint32_t)0x00000001)
#define RCC_APB2Periph_GPIOA   ((uint32_t)0x00000004)

Definition at line 497 of file stm32f10x_rcc.h.

Referenced by GPIO_Configuration(), GPIO_DeInit(), main(), and RCC_Configuration().

#define RCC_APB2Periph_GPIOB   ((uint32_t)0x00000008)

Definition at line 498 of file stm32f10x_rcc.h.

Referenced by CAN_Config(), GPIO_Configuration(), GPIO_DeInit(), main(), and RCC_Configuration().

#define RCC_APB2Periph_GPIOC   ((uint32_t)0x00000010)

Definition at line 499 of file stm32f10x_rcc.h.

Referenced by GPIO_DeInit(), main(), RCC_Configuration(), and SD_LowLevel_Init().

#define RCC_APB2Periph_GPIOD   ((uint32_t)0x00000020)
#define RCC_APB2Periph_GPIOE   ((uint32_t)0x00000040)
#define RCC_APB2Periph_GPIOF   ((uint32_t)0x00000080)
#define RCC_APB2Periph_GPIOG   ((uint32_t)0x00000100)
#define RCC_APB2Periph_SPI1   ((uint32_t)0x00001000)

Definition at line 507 of file stm32f10x_rcc.h.

Referenced by main(), RCC_Configuration(), and SPI_I2S_DeInit().

#define RCC_APB2Periph_TIM1   ((uint32_t)0x00000800)

Definition at line 506 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and TIM_DeInit().

#define RCC_APB2Periph_TIM10   ((uint32_t)0x00100000)

Definition at line 515 of file stm32f10x_rcc.h.

Referenced by GPIO_Configuration(), and TIM_DeInit().

#define RCC_APB2Periph_TIM11   ((uint32_t)0x00200000)

Definition at line 516 of file stm32f10x_rcc.h.

Referenced by TIM_DeInit().

#define RCC_APB2Periph_TIM15   ((uint32_t)0x00010000)

Definition at line 511 of file stm32f10x_rcc.h.

Referenced by RCC_Configuration(), and TIM_DeInit().

#define RCC_APB2Periph_TIM16   ((uint32_t)0x00020000)

Definition at line 512 of file stm32f10x_rcc.h.

Referenced by TIM_DeInit().

#define RCC_APB2Periph_TIM17   ((uint32_t)0x00040000)

Definition at line 513 of file stm32f10x_rcc.h.

Referenced by TIM_DeInit().

#define RCC_APB2Periph_TIM8   ((uint32_t)0x00002000)

Definition at line 508 of file stm32f10x_rcc.h.

Referenced by TIM_DeInit().

#define RCC_APB2Periph_TIM9   ((uint32_t)0x00080000)

Definition at line 514 of file stm32f10x_rcc.h.

Referenced by GPIO_Configuration(), and TIM_DeInit().

#define RCC_APB2Periph_USART1   ((uint32_t)0x00004000)

Definition at line 509 of file stm32f10x_rcc.h.

Referenced by USART_DeInit().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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