libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.

Range of the MSI oscillator Twelve frequency ranges are available: 100 kHz, 200 kHz, 400 kHz, 800 kHz, 1 MHz, 2 MHz, 4 MHz (default value), 8 MHz, 16 MHz, 24 MHz, 32 MHz and 48 MHz. More...

Collaboration diagram for MSI Range:

Macros

#define RCC_CR_MSIRANGE_SHIFT   4
 
#define RCC_CR_MSIRANGE_MASK   0xf
 
#define RCC_CR_MSIRANGE_100KHZ   0
 
#define RCC_CR_MSIRANGE_200KHZ   1
 
#define RCC_CR_MSIRANGE_400KHZ   2
 
#define RCC_CR_MSIRANGE_800KHZ   3
 
#define RCC_CR_MSIRANGE_1MHZ   4
 
#define RCC_CR_MSIRANGE_2MHZ   5
 
#define RCC_CR_MSIRANGE_4MHZ   6
 
#define RCC_CR_MSIRANGE_8MHZ   7
 
#define RCC_CR_MSIRANGE_16MHZ   8
 
#define RCC_CR_MSIRANGE_24MHZ   9
 
#define RCC_CR_MSIRANGE_32MHZ   10
 
#define RCC_CR_MSIRANGE_48MHZ   11
 

Detailed Description

Range of the MSI oscillator Twelve frequency ranges are available: 100 kHz, 200 kHz, 400 kHz, 800 kHz, 1 MHz, 2 MHz, 4 MHz (default value), 8 MHz, 16 MHz, 24 MHz, 32 MHz and 48 MHz.

See also
MSI Range after standby values

Macro Definition Documentation

◆ RCC_CR_MSIRANGE_100KHZ

#define RCC_CR_MSIRANGE_100KHZ   0

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

◆ RCC_CR_MSIRANGE_16MHZ

#define RCC_CR_MSIRANGE_16MHZ   8

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

◆ RCC_CR_MSIRANGE_1MHZ

#define RCC_CR_MSIRANGE_1MHZ   4

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

◆ RCC_CR_MSIRANGE_200KHZ

#define RCC_CR_MSIRANGE_200KHZ   1

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

◆ RCC_CR_MSIRANGE_24MHZ

#define RCC_CR_MSIRANGE_24MHZ   9

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

◆ RCC_CR_MSIRANGE_2MHZ

#define RCC_CR_MSIRANGE_2MHZ   5

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

◆ RCC_CR_MSIRANGE_32MHZ

#define RCC_CR_MSIRANGE_32MHZ   10

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

◆ RCC_CR_MSIRANGE_400KHZ

#define RCC_CR_MSIRANGE_400KHZ   2

Definition at line 138 of file l4/rcc.h.

◆ RCC_CR_MSIRANGE_48MHZ

#define RCC_CR_MSIRANGE_48MHZ   11

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

◆ RCC_CR_MSIRANGE_4MHZ

#define RCC_CR_MSIRANGE_4MHZ   6

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

◆ RCC_CR_MSIRANGE_800KHZ

#define RCC_CR_MSIRANGE_800KHZ   3

Definition at line 139 of file l4/rcc.h.

◆ RCC_CR_MSIRANGE_8MHZ

#define RCC_CR_MSIRANGE_8MHZ   7

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

◆ RCC_CR_MSIRANGE_MASK

#define RCC_CR_MSIRANGE_MASK   0xf

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

◆ RCC_CR_MSIRANGE_SHIFT

#define RCC_CR_MSIRANGE_SHIFT   4

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