uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
APB2_peripheral

Macros

#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_ADC1   ((uint32_t)0x00000200)
 
#define RCC_APB2Periph_ADC2   ((uint32_t)0x00000400)
 
#define RCC_APB2Periph_TIM1   ((uint32_t)0x00000800)
 
#define RCC_APB2Periph_SPI1   ((uint32_t)0x00001000)
 
#define RCC_APB2Periph_TIM8   ((uint32_t)0x00002000)
 
#define RCC_APB2Periph_USART1   ((uint32_t)0x00004000)
 
#define RCC_APB2Periph_ADC3   ((uint32_t)0x00008000)
 
#define RCC_APB2Periph_TIM15   ((uint32_t)0x00010000)
 
#define RCC_APB2Periph_TIM16   ((uint32_t)0x00020000)
 
#define RCC_APB2Periph_TIM17   ((uint32_t)0x00040000)
 
#define RCC_APB2Periph_TIM9   ((uint32_t)0x00080000)
 
#define RCC_APB2Periph_TIM10   ((uint32_t)0x00100000)
 
#define RCC_APB2Periph_TIM11   ((uint32_t)0x00200000)
 
#define IS_RCC_APB2_PERIPH(PERIPH)   ((((PERIPH) & 0xFFC00002) == 0x00) && ((PERIPH) != 0x00))
 

Detailed Description

Macro Definition Documentation

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

Definition at line 519 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_ADC1   ((uint32_t)0x00000200)

Definition at line 505 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_ADC2   ((uint32_t)0x00000400)

Definition at line 506 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_ADC3   ((uint32_t)0x00008000)

Definition at line 511 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_AFIO   ((uint32_t)0x00000001)

Definition at line 497 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_GPIOA   ((uint32_t)0x00000004)

Definition at line 498 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_GPIOB   ((uint32_t)0x00000008)

Definition at line 499 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_GPIOC   ((uint32_t)0x00000010)

Definition at line 500 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_GPIOD   ((uint32_t)0x00000020)

Definition at line 501 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_GPIOE   ((uint32_t)0x00000040)

Definition at line 502 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_GPIOF   ((uint32_t)0x00000080)

Definition at line 503 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_GPIOG   ((uint32_t)0x00000100)

Definition at line 504 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_SPI1   ((uint32_t)0x00001000)

Definition at line 508 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_TIM1   ((uint32_t)0x00000800)

Definition at line 507 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_TIM10   ((uint32_t)0x00100000)

Definition at line 516 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_TIM11   ((uint32_t)0x00200000)

Definition at line 517 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_TIM15   ((uint32_t)0x00010000)

Definition at line 512 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_TIM16   ((uint32_t)0x00020000)

Definition at line 513 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_TIM17   ((uint32_t)0x00040000)

Definition at line 514 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_TIM8   ((uint32_t)0x00002000)

Definition at line 509 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_TIM9   ((uint32_t)0x00080000)

Definition at line 515 of file stm32f10x_rcc.h.

#define RCC_APB2Periph_USART1   ((uint32_t)0x00004000)

Definition at line 510 of file stm32f10x_rcc.h.