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

Macros

#define RCC_SYSCLK_Div1   ((uint32_t)0x00000000)
 
#define RCC_SYSCLK_Div2   ((uint32_t)0x00000080)
 
#define RCC_SYSCLK_Div4   ((uint32_t)0x00000090)
 
#define RCC_SYSCLK_Div8   ((uint32_t)0x000000A0)
 
#define RCC_SYSCLK_Div16   ((uint32_t)0x000000B0)
 
#define RCC_SYSCLK_Div64   ((uint32_t)0x000000C0)
 
#define RCC_SYSCLK_Div128   ((uint32_t)0x000000D0)
 
#define RCC_SYSCLK_Div256   ((uint32_t)0x000000E0)
 
#define RCC_SYSCLK_Div512   ((uint32_t)0x000000F0)
 
#define IS_RCC_HCLK(HCLK)
 

Detailed Description

Macro Definition Documentation

#define IS_RCC_HCLK (   HCLK)
Value:
(((HCLK) == RCC_SYSCLK_Div1) || ((HCLK) == RCC_SYSCLK_Div2) || \
((HCLK) == RCC_SYSCLK_Div4) || ((HCLK) == RCC_SYSCLK_Div8) || \
((HCLK) == RCC_SYSCLK_Div16) || ((HCLK) == RCC_SYSCLK_Div64) || \
((HCLK) == RCC_SYSCLK_Div128) || ((HCLK) == RCC_SYSCLK_Div256) || \
((HCLK) == RCC_SYSCLK_Div512))

Definition at line 312 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div1   ((uint32_t)0x00000000)

Definition at line 303 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div128   ((uint32_t)0x000000D0)

Definition at line 309 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div16   ((uint32_t)0x000000B0)

Definition at line 307 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div2   ((uint32_t)0x00000080)

Definition at line 304 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div256   ((uint32_t)0x000000E0)

Definition at line 310 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div4   ((uint32_t)0x00000090)

Definition at line 305 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div512   ((uint32_t)0x000000F0)

Definition at line 311 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div64   ((uint32_t)0x000000C0)

Definition at line 308 of file stm32f10x_rcc.h.

#define RCC_SYSCLK_Div8   ((uint32_t)0x000000A0)

Definition at line 306 of file stm32f10x_rcc.h.