STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
RCC_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))