Nut/OS  5.0.5
API Reference
AHB_clock_source
Collaboration diagram for AHB_clock_source:

Defines

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

Define Documentation

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

Referenced by RCC_HCLKConfig().