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

Macros

#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)
 

Detailed Description

Macro Definition 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.