STM32F10x Standard Peripherals Library  3.5.0
APB1_APB2_clock_source

Defines

#define RCC_HCLK_Div1   ((uint32_t)0x00000000)
#define RCC_HCLK_Div2   ((uint32_t)0x00000400)
#define RCC_HCLK_Div4   ((uint32_t)0x00000500)
#define RCC_HCLK_Div8   ((uint32_t)0x00000600)
#define RCC_HCLK_Div16   ((uint32_t)0x00000700)
#define IS_RCC_PCLK(PCLK)

Define Documentation

#define IS_RCC_PCLK (   PCLK)
Value:
(((PCLK) == RCC_HCLK_Div1) || ((PCLK) == RCC_HCLK_Div2) || \
                           ((PCLK) == RCC_HCLK_Div4) || ((PCLK) == RCC_HCLK_Div8) || \
                           ((PCLK) == RCC_HCLK_Div16))

Definition at line 330 of file stm32f10x_rcc.h.

#define RCC_HCLK_Div1   ((uint32_t)0x00000000)

Definition at line 325 of file stm32f10x_rcc.h.

#define RCC_HCLK_Div16   ((uint32_t)0x00000700)

Definition at line 329 of file stm32f10x_rcc.h.

#define RCC_HCLK_Div2   ((uint32_t)0x00000400)

Definition at line 326 of file stm32f10x_rcc.h.

#define RCC_HCLK_Div4   ((uint32_t)0x00000500)

Definition at line 327 of file stm32f10x_rcc.h.

#define RCC_HCLK_Div8   ((uint32_t)0x00000600)

Definition at line 328 of file stm32f10x_rcc.h.