libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Collaboration diagram for RCC_CFGR Values:

Macros

#define RCC_CFGR_MCO2_MASK   0x7
 
#define RCC_CFGR_MCO2_SHIFT   29
 
#define RCC_CFGR_MCO2_SYSCLK   0x0
 
#define RCC_CFGR_MCO2_PLL2   0x1
 
#define RCC_CFGR_MCO2_HSE   0x2
 
#define RCC_CFGR_MCO2_PLL1   0x3
 
#define RCC_CFGR_MCO2_CSI   0x4
 
#define RCC_CFGR_MCO2_LSI   0x5
 
#define RCC_CFGR_MCOPRE_MASK   0xf
 
#define RCC_CFGR_MCO2PRE_SHIFT   25
 
#define RCC_CFGR_MCO1PRE_SHIFT   18
 
#define RCC_CFGR_MCOPRE_DIV_NONE   0x0
 
#define RCC_CFGR_MCOPRE_DIV_BYP   0x1
 
#define RCC_CFGR_MCOPRE_DIV_2   0x2
 
#define RCC_CFGR_MCOPRE_DIV_3   0x3
 
#define RCC_CFGR_MCOPRE_DIV_4   0x4
 
#define RCC_CFGR_MCO1_MASK   0x7
 
#define RCC_CFGR_MCO1_SHIFT   22
 
#define RCC_CFGR_MCO1_HSI   0x0
 
#define RCC_CFGR_MCO1_LSE   0x1
 
#define RCC_CFGR_MCO1_HSE   0x2
 
#define RCC_CFGR_MCO1_PLL1   0x3
 
#define RCC_CFGR_MCO1_HSI48   0x4
 
#define RCC_CFGR_MCO_SHIFT   RCC_CFGR_MCO1_SHIFT
 
#define RCC_CFGR_MCO_MASK   RCC_CFGR_MCO1_MASK
 
#define RCC_CFGR_RTCPRE_SHIFT   8
 
#define RCC_CFGR_RTCPRE_MASK   0x3f
 
#define RCC_CFGR_SWS_SHIFT   3
 
#define RCC_CFGR_SWS_MASK   0x7
 
#define RCC_CFGR_SWS_HSI   0x0
 
#define RCC_CFGR_SWS_CSI   0x1
 
#define RCC_CFGR_SWS_HSE   0x2
 
#define RCC_CFGR_SWS_PLL1   0x3
 
#define RCC_CFGR_SW_SHIFT   0
 
#define RCC_CFGR_SW_MASK   0x7
 
#define RCC_CFGR_SW_HSI   0x0
 
#define RCC_CFGR_SW_CSI   0x1
 
#define RCC_CFGR_SW_HSE   0x2
 
#define RCC_CFGR_SW_PLL1   0x3
 

Detailed Description

Macro Definition Documentation

◆ RCC_CFGR_MCO1_HSE

#define RCC_CFGR_MCO1_HSE   0x2

Definition at line 155 of file h7/rcc.h.

◆ RCC_CFGR_MCO1_HSI

#define RCC_CFGR_MCO1_HSI   0x0

Definition at line 153 of file h7/rcc.h.

◆ RCC_CFGR_MCO1_HSI48

#define RCC_CFGR_MCO1_HSI48   0x4

Definition at line 157 of file h7/rcc.h.

◆ RCC_CFGR_MCO1_LSE

#define RCC_CFGR_MCO1_LSE   0x1

Definition at line 154 of file h7/rcc.h.

◆ RCC_CFGR_MCO1_MASK

#define RCC_CFGR_MCO1_MASK   0x7

Definition at line 151 of file h7/rcc.h.

◆ RCC_CFGR_MCO1_PLL1

#define RCC_CFGR_MCO1_PLL1   0x3

Definition at line 156 of file h7/rcc.h.

◆ RCC_CFGR_MCO1_SHIFT

#define RCC_CFGR_MCO1_SHIFT   22

Definition at line 152 of file h7/rcc.h.

◆ RCC_CFGR_MCO1PRE_SHIFT

#define RCC_CFGR_MCO1PRE_SHIFT   18

Definition at line 142 of file h7/rcc.h.

◆ RCC_CFGR_MCO2_CSI

#define RCC_CFGR_MCO2_CSI   0x4

Definition at line 136 of file h7/rcc.h.

◆ RCC_CFGR_MCO2_HSE

#define RCC_CFGR_MCO2_HSE   0x2

Definition at line 134 of file h7/rcc.h.

◆ RCC_CFGR_MCO2_LSI

#define RCC_CFGR_MCO2_LSI   0x5

Definition at line 137 of file h7/rcc.h.

◆ RCC_CFGR_MCO2_MASK

#define RCC_CFGR_MCO2_MASK   0x7

Definition at line 130 of file h7/rcc.h.

◆ RCC_CFGR_MCO2_PLL1

#define RCC_CFGR_MCO2_PLL1   0x3

Definition at line 135 of file h7/rcc.h.

◆ RCC_CFGR_MCO2_PLL2

#define RCC_CFGR_MCO2_PLL2   0x1

Definition at line 133 of file h7/rcc.h.

◆ RCC_CFGR_MCO2_SHIFT

#define RCC_CFGR_MCO2_SHIFT   29

Definition at line 131 of file h7/rcc.h.

◆ RCC_CFGR_MCO2_SYSCLK

#define RCC_CFGR_MCO2_SYSCLK   0x0

Definition at line 132 of file h7/rcc.h.

◆ RCC_CFGR_MCO2PRE_SHIFT

#define RCC_CFGR_MCO2PRE_SHIFT   25

Definition at line 141 of file h7/rcc.h.

◆ RCC_CFGR_MCO_MASK

#define RCC_CFGR_MCO_MASK   RCC_CFGR_MCO1_MASK

Definition at line 159 of file h7/rcc.h.

◆ RCC_CFGR_MCO_SHIFT

#define RCC_CFGR_MCO_SHIFT   RCC_CFGR_MCO1_SHIFT

Definition at line 158 of file h7/rcc.h.

◆ RCC_CFGR_MCOPRE_DIV_2

#define RCC_CFGR_MCOPRE_DIV_2   0x2

Definition at line 145 of file h7/rcc.h.

◆ RCC_CFGR_MCOPRE_DIV_3

#define RCC_CFGR_MCOPRE_DIV_3   0x3

Definition at line 146 of file h7/rcc.h.

◆ RCC_CFGR_MCOPRE_DIV_4

#define RCC_CFGR_MCOPRE_DIV_4   0x4

Definition at line 147 of file h7/rcc.h.

◆ RCC_CFGR_MCOPRE_DIV_BYP

#define RCC_CFGR_MCOPRE_DIV_BYP   0x1

Definition at line 144 of file h7/rcc.h.

◆ RCC_CFGR_MCOPRE_DIV_NONE

#define RCC_CFGR_MCOPRE_DIV_NONE   0x0

Definition at line 143 of file h7/rcc.h.

◆ RCC_CFGR_MCOPRE_MASK

#define RCC_CFGR_MCOPRE_MASK   0xf

Definition at line 140 of file h7/rcc.h.

◆ RCC_CFGR_RTCPRE_MASK

#define RCC_CFGR_RTCPRE_MASK   0x3f

Definition at line 163 of file h7/rcc.h.

◆ RCC_CFGR_RTCPRE_SHIFT

#define RCC_CFGR_RTCPRE_SHIFT   8

Definition at line 162 of file h7/rcc.h.

◆ RCC_CFGR_SW_CSI

#define RCC_CFGR_SW_CSI   0x1

Definition at line 177 of file h7/rcc.h.

◆ RCC_CFGR_SW_HSE

#define RCC_CFGR_SW_HSE   0x2

Definition at line 178 of file h7/rcc.h.

◆ RCC_CFGR_SW_HSI

#define RCC_CFGR_SW_HSI   0x0

Definition at line 176 of file h7/rcc.h.

◆ RCC_CFGR_SW_MASK

#define RCC_CFGR_SW_MASK   0x7

Definition at line 175 of file h7/rcc.h.

◆ RCC_CFGR_SW_PLL1

#define RCC_CFGR_SW_PLL1   0x3

Definition at line 179 of file h7/rcc.h.

◆ RCC_CFGR_SW_SHIFT

#define RCC_CFGR_SW_SHIFT   0

Definition at line 174 of file h7/rcc.h.

◆ RCC_CFGR_SWS_CSI

#define RCC_CFGR_SWS_CSI   0x1

Definition at line 169 of file h7/rcc.h.

◆ RCC_CFGR_SWS_HSE

#define RCC_CFGR_SWS_HSE   0x2

Definition at line 170 of file h7/rcc.h.

◆ RCC_CFGR_SWS_HSI

#define RCC_CFGR_SWS_HSI   0x0

Definition at line 168 of file h7/rcc.h.

◆ RCC_CFGR_SWS_MASK

#define RCC_CFGR_SWS_MASK   0x7

Definition at line 167 of file h7/rcc.h.

◆ RCC_CFGR_SWS_PLL1

#define RCC_CFGR_SWS_PLL1   0x3

Definition at line 171 of file h7/rcc.h.

◆ RCC_CFGR_SWS_SHIFT

#define RCC_CFGR_SWS_SHIFT   3

Definition at line 166 of file h7/rcc.h.