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

Defines

#define RCC_HCLK_Div1   ((uint32_t)0x00000000)
#define RCC_HCLK_Div2   ((uint32_t)0x00001000)
#define RCC_HCLK_Div4   ((uint32_t)0x00001400)
#define RCC_HCLK_Div8   ((uint32_t)0x00001800)
#define RCC_HCLK_Div16   ((uint32_t)0x00001C00)
#define IS_RCC_PCLK(PCLK)
#define RCC_HCLK_Div1   ((uint32_t)0x00000000)
#define RCC_HCLK_Div2   ((uint32_t)0x00001000)
#define RCC_HCLK_Div4   ((uint32_t)0x00001400)
#define RCC_HCLK_Div8   ((uint32_t)0x00001800)
#define RCC_HCLK_Div16   ((uint32_t)0x00001C00)
#define IS_RCC_PCLK(PCLK)
#define RCC_HCLK_Div1   RCC_CFGR_PPRE1_DIV1
#define RCC_HCLK_Div2   RCC_CFGR_PPRE1_DIV2
#define RCC_HCLK_Div4   RCC_CFGR_PPRE1_DIV4
#define RCC_HCLK_Div8   RCC_CFGR_PPRE1_DIV8
#define RCC_HCLK_Div16   RCC_CFGR_PPRE1_DIV16
#define IS_RCC_PCLK(PCLK)

Define Documentation

#define RCC_HCLK_Div1   ((uint32_t)0x00000000)
#define RCC_HCLK_Div2   ((uint32_t)0x00001000)
#define RCC_HCLK_Div4   ((uint32_t)0x00001400)
#define RCC_HCLK_Div8   ((uint32_t)0x00001800)
#define RCC_HCLK_Div16   ((uint32_t)0x00001C00)
#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))
#define RCC_HCLK_Div1   ((uint32_t)0x00000000)
#define RCC_HCLK_Div2   ((uint32_t)0x00001000)
#define RCC_HCLK_Div4   ((uint32_t)0x00001400)
#define RCC_HCLK_Div8   ((uint32_t)0x00001800)
#define RCC_HCLK_Div16   ((uint32_t)0x00001C00)
#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))
#define RCC_HCLK_Div1   RCC_CFGR_PPRE1_DIV1
#define RCC_HCLK_Div2   RCC_CFGR_PPRE1_DIV2
#define RCC_HCLK_Div4   RCC_CFGR_PPRE1_DIV4
#define RCC_HCLK_Div8   RCC_CFGR_PPRE1_DIV8
#define RCC_HCLK_Div16   RCC_CFGR_PPRE1_DIV16
#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))