STM32 Blue Pill Drivers
Drivers that could be used to interface and interact with STM32F103C8T6 Microcontroller
Loading...
Searching...
No Matches
RCC Interface Options

This group contains the options of the RCC module interface. More...

+ Collaboration diagram for RCC Interface Options:

Enumerations

enum  RCC_PLLMulFactors {
  RCC_PLLMulFactors_2 = 0 , RCC_PLLMulFactors_3 , RCC_PLLMulFactors_4 , RCC_PLLMulFactors_5 ,
  RCC_PLLMulFactors_6 , RCC_PLLMulFactors_7 , RCC_PLLMulFactors_8 , RCC_PLLMulFactors_9 ,
  RCC_PLLMulFactors_10 , RCC_PLLMulFactors_11 , RCC_PLLMulFactors_12 , RCC_PLLMulFactors_13 ,
  RCC_PLLMulFactors_14 , RCC_PLLMulFactors_15 , RCC_PLLMulFactors_16
}
 This enum contains the multiplication factors of the PLL. More...
 
enum  RCC_AHBPrescaler {
  RCC_AHBPrescaler_NotDivided = 0 , RCC_AHBPrescaler_DividedBy2 = 0b1000 , RCC_AHBPrescaler_DividedBy4 , RCC_AHBPrescaler_DividedBy8 ,
  RCC_AHBPrescaler_DividedBy16 , RCC_AHBPrescaler_DividedBy64 , RCC_AHBPrescaler_DividedBy128 , RCC_AHBPrescaler_DividedBy256 ,
  RCC_AHBPrescaler_DividedBy512
}
 This enum contains the prescaler factors of the AHB bus. More...
 
enum  RCC_APBPrescaler {
  RCC_APBPrescaler_NotDivided = 0 , RCC_APBPrescaler_DividedBy2 = 0b100 , RCC_APBPrescaler_DividedBy4 , RCC_APBPrescaler_DividedBy8 ,
  RCC_APBPrescaler_DividedBy16
}
 This enum contains the prescaler factors of the APB (1 & 2) bus. More...
 
enum  RCC_ADCPrescaler { RCC_ADCPrescaler_DividedBy2 = 0 , RCC_ADCPrescaler_DividedBy4 , RCC_ADCPrescaler_DividedBy6 , RCC_ADCPrescaler_DividedBy8 }
 This enum contains the prescaler factors of the ADC bus. More...
 
enum  RCC_SystemClock { RCC_SystemClock_HSI = 0 , RCC_SystemClock_HSE , RCC_SystemClock_PLL }
 This enum contains the system clock sources. More...
 
enum  RCC_PLLSource { RCC_PLLSource_HSI_DividedBy2 = 0 , RCC_PLLSource_HSE }
 This enum contains the PLL clock sources. More...
 
enum  RCC_MCOSources {
  RCC_MCOSources_NoClock = 0 , RCC_MCOSources_SystemClock = 0b100 , RCC_MCOSources_HSI , RCC_MCOSources_HSE ,
  RCC_MCOSources_PLL_DividedBy2
}
 This enum contains the MCO sources. More...
 
enum  RCC_USBPrescaler { RCC_USBPrescaler_1_5 = 0 , RCC_USBPrescaler_1 }
 This enum contains the USB prescaler factors. More...
 
enum  t_RCC_APB2Peripherals {
  RCC_APB2Peripherals_AFIO = 0 , RCC_APB2Peripherals_PORTA = 2 , RCC_APB2Peripherals_PORTB , RCC_APB2Peripherals_PORTC ,
  RCC_APB2Peripherals_PORTD , RCC_APB2Peripherals_PORTE , RCC_APB2Peripherals_PORTF , RCC_APB2Peripherals_PORTG ,
  RCC_APB2Peripherals_ADC1 , RCC_APB2Peripherals_ADC2 , RCC_APB2Peripherals_TIM1 , RCC_APB2Peripherals_SPI1 ,
  RCC_APB2Peripherals_USART1 = 14 , RCC_APB2Peripherals_ADC3
}
 This enum contains the APB2 peripherals that are connected to the APB2 bus. More...
 
enum  t_RCC_APB1Peripherals {
  RCC_APB1Peripherals_TIM2 = 0 , RCC_APB1Peripherals_TIM3 , RCC_APB1Peripherals_TIM4 , RCC_APB1Peripherals_TIM5 ,
  RCC_APB1Peripherals_TIM6 , RCC_APB1Peripherals_TIM7 , RCC_APB1Peripherals_WWDG = 11 , RCC_APB1Peripherals_SPI2 = 14 ,
  RCC_APB1Peripherals_SPI3 , RCC_APB1Peripherals_USART2 = 17 , RCC_APB1Peripherals_USART3 , RCC_APB1Peripherals_UART4 ,
  RCC_APB1Peripherals_UART5 , RCC_APB1Peripherals_I2C1 , RCC_APB1Peripherals_I2C2 , RCC_APB1Peripherals_USB ,
  RCC_APB1Peripherals_CAN = 25 , RCC_APB1Peripherals_BKP = 27 , RCC_APB1Peripherals_PWR , RCC_APB1Peripherals_DAC
}
 This enum contains the APB1 peripherals that are connected to the APB1 bus. More...
 
enum  t_RCC_AHBPeripherals { RCC_AHBPeripherals_DMA1 = 0 , RCC_AHBPeripherals_DMA2 , RCC_AHBPeripherals_CRC = 5 }
 This enum contains the AHB peripherals that are connected to the AHB bus. More...
 

Detailed Description

This group contains the options of the RCC module interface.

Enumeration Type Documentation

◆ RCC_PLLMulFactors

#include <MCAL/RCC/RCC_interface.h>

This enum contains the multiplication factors of the PLL.

This enum contains the multiplication factors of the PLL

Enumerator
RCC_PLLMulFactors_2 

Multiply the PLL1 input clock by 2.

RCC_PLLMulFactors_3 

Multiply the PLL1 input clock by 3.

RCC_PLLMulFactors_4 

Multiply the PLL1 input clock by 4.

RCC_PLLMulFactors_5 

Multiply the PLL1 input clock by 5.

RCC_PLLMulFactors_6 

Multiply the PLL1 input clock by 6.

RCC_PLLMulFactors_7 

Multiply the PLL1 input clock by 7.

RCC_PLLMulFactors_8 

Multiply the PLL1 input clock by 8.

RCC_PLLMulFactors_9 

Multiply the PLL1 input clock by 9.

RCC_PLLMulFactors_10 

Multiply the PLL1 input clock by 10.

RCC_PLLMulFactors_11 

Multiply the PLL1 input clock by 11.

RCC_PLLMulFactors_12 

Multiply the PLL1 input clock by 12.

RCC_PLLMulFactors_13 

Multiply the PLL1 input clock by 13.

RCC_PLLMulFactors_14 

Multiply the PLL1 input clock by 14.

RCC_PLLMulFactors_15 

Multiply the PLL1 input clock by 15.

RCC_PLLMulFactors_16 

Multiply the PLL1 input clock by 16.

35{
96};
@ RCC_PLLMulFactors_16
Multiply the PLL1 input clock by 16.
Definition: RCC_interface.h:95
@ RCC_PLLMulFactors_8
Multiply the PLL1 input clock by 8.
Definition: RCC_interface.h:63
@ RCC_PLLMulFactors_15
Multiply the PLL1 input clock by 15.
Definition: RCC_interface.h:91
@ RCC_PLLMulFactors_13
Multiply the PLL1 input clock by 13.
Definition: RCC_interface.h:83
@ RCC_PLLMulFactors_9
Multiply the PLL1 input clock by 9.
Definition: RCC_interface.h:67
@ RCC_PLLMulFactors_5
Multiply the PLL1 input clock by 5.
Definition: RCC_interface.h:51
@ RCC_PLLMulFactors_11
Multiply the PLL1 input clock by 11.
Definition: RCC_interface.h:75
@ RCC_PLLMulFactors_14
Multiply the PLL1 input clock by 14.
Definition: RCC_interface.h:87
@ RCC_PLLMulFactors_3
Multiply the PLL1 input clock by 3.
Definition: RCC_interface.h:43
@ RCC_PLLMulFactors_7
Multiply the PLL1 input clock by 7.
Definition: RCC_interface.h:59
@ RCC_PLLMulFactors_12
Multiply the PLL1 input clock by 12.
Definition: RCC_interface.h:79
@ RCC_PLLMulFactors_4
Multiply the PLL1 input clock by 4.
Definition: RCC_interface.h:47
@ RCC_PLLMulFactors_2
Multiply the PLL1 input clock by 2.
Definition: RCC_interface.h:39
@ RCC_PLLMulFactors_10
Multiply the PLL1 input clock by 10.
Definition: RCC_interface.h:71
@ RCC_PLLMulFactors_6
Multiply the PLL1 input clock by 6.
Definition: RCC_interface.h:55

◆ RCC_AHBPrescaler

#include <MCAL/RCC/RCC_interface.h>

This enum contains the prescaler factors of the AHB bus.

This enum contains the prescaler factors of the AHB bus

Enumerator
RCC_AHBPrescaler_NotDivided 

AHB bus not divided.

RCC_AHBPrescaler_DividedBy2 

AHB bus divided by 2.

RCC_AHBPrescaler_DividedBy4 

AHB bus divided by 4.

RCC_AHBPrescaler_DividedBy8 

AHB bus divided by 8.

RCC_AHBPrescaler_DividedBy16 

AHB bus divided by 16.

RCC_AHBPrescaler_DividedBy64 

AHB bus divided by 64.

RCC_AHBPrescaler_DividedBy128 

AHB bus divided by 128.

RCC_AHBPrescaler_DividedBy256 

AHB bus divided by 256.

RCC_AHBPrescaler_DividedBy512 

AHB bus divided by 512.

104{
141};
@ RCC_AHBPrescaler_DividedBy4
AHB bus divided by 4.
Definition: RCC_interface.h:116
@ RCC_AHBPrescaler_DividedBy2
AHB bus divided by 2.
Definition: RCC_interface.h:112
@ RCC_AHBPrescaler_DividedBy64
AHB bus divided by 64.
Definition: RCC_interface.h:128
@ RCC_AHBPrescaler_DividedBy16
AHB bus divided by 16.
Definition: RCC_interface.h:124
@ RCC_AHBPrescaler_DividedBy8
AHB bus divided by 8.
Definition: RCC_interface.h:120
@ RCC_AHBPrescaler_DividedBy512
AHB bus divided by 512.
Definition: RCC_interface.h:140
@ RCC_AHBPrescaler_DividedBy256
AHB bus divided by 256.
Definition: RCC_interface.h:136
@ RCC_AHBPrescaler_NotDivided
AHB bus not divided.
Definition: RCC_interface.h:108
@ RCC_AHBPrescaler_DividedBy128
AHB bus divided by 128.
Definition: RCC_interface.h:132

◆ RCC_APBPrescaler

#include <MCAL/RCC/RCC_interface.h>

This enum contains the prescaler factors of the APB (1 & 2) bus.

This enum contains the prescaler factors of the APB (1 & 2) bus

Enumerator
RCC_APBPrescaler_NotDivided 

APB1 bus not divided.

RCC_APBPrescaler_DividedBy2 

APB1 bus divided by 2.

RCC_APBPrescaler_DividedBy4 

APB1 bus divided by 4.

RCC_APBPrescaler_DividedBy8 

APB1 bus divided by 8.

RCC_APBPrescaler_DividedBy16 

APB1 bus divided by 16.

149{
170};
@ RCC_APBPrescaler_NotDivided
APB1 bus not divided.
Definition: RCC_interface.h:153
@ RCC_APBPrescaler_DividedBy8
APB1 bus divided by 8.
Definition: RCC_interface.h:165
@ RCC_APBPrescaler_DividedBy2
APB1 bus divided by 2.
Definition: RCC_interface.h:157
@ RCC_APBPrescaler_DividedBy16
APB1 bus divided by 16.
Definition: RCC_interface.h:169
@ RCC_APBPrescaler_DividedBy4
APB1 bus divided by 4.
Definition: RCC_interface.h:161

◆ RCC_ADCPrescaler

#include <MCAL/RCC/RCC_interface.h>

This enum contains the prescaler factors of the ADC bus.

This enum contains the prescaler factors of the ADC bus

Enumerator
RCC_ADCPrescaler_DividedBy2 

ADC bus divided by 2.

RCC_ADCPrescaler_DividedBy4 

ADC bus divided by 4.

RCC_ADCPrescaler_DividedBy6 

ADC bus divided by 6.

RCC_ADCPrescaler_DividedBy8 

ADC bus divided by 8.

178{
195};
@ RCC_ADCPrescaler_DividedBy2
ADC bus divided by 2.
Definition: RCC_interface.h:182
@ RCC_ADCPrescaler_DividedBy8
ADC bus divided by 8.
Definition: RCC_interface.h:194
@ RCC_ADCPrescaler_DividedBy4
ADC bus divided by 4.
Definition: RCC_interface.h:186
@ RCC_ADCPrescaler_DividedBy6
ADC bus divided by 6.
Definition: RCC_interface.h:190

◆ RCC_SystemClock

#include <MCAL/RCC/RCC_interface.h>

This enum contains the system clock sources.

This enum contains the system clock sources

Enumerator
RCC_SystemClock_HSI 

HSI clock selected as system clock.

RCC_SystemClock_HSE 

HSE clock selected as system clock.

RCC_SystemClock_PLL 

PLL clock selected as system clock.

203{
216};
@ RCC_SystemClock_HSI
HSI clock selected as system clock.
Definition: RCC_interface.h:207
@ RCC_SystemClock_HSE
HSE clock selected as system clock.
Definition: RCC_interface.h:211
@ RCC_SystemClock_PLL
PLL clock selected as system clock.
Definition: RCC_interface.h:215

◆ RCC_PLLSource

#include <MCAL/RCC/RCC_interface.h>

This enum contains the PLL clock sources.

This enum contains the PLL clock sources

Enumerator
RCC_PLLSource_HSI_DividedBy2 

HSI clock divided by 2 selected as PLL clock.

RCC_PLLSource_HSE 

HSE clock selected as PLL clock.

224{
233};
@ RCC_PLLSource_HSE
HSE clock selected as PLL clock.
Definition: RCC_interface.h:232
@ RCC_PLLSource_HSI_DividedBy2
HSI clock divided by 2 selected as PLL clock.
Definition: RCC_interface.h:228

◆ RCC_MCOSources

#include <MCAL/RCC/RCC_interface.h>

This enum contains the MCO sources.

This enum contains the MCO sources

Enumerator
RCC_MCOSources_NoClock 

No clock selected as MCO.

RCC_MCOSources_SystemClock 

System clock selected as MCO.

RCC_MCOSources_HSI 

HSI clock selected as MCO.

RCC_MCOSources_HSE 

HSE clock selected as MCO.

RCC_MCOSources_PLL_DividedBy2 

PLL clock divided by 2 selected as MCO.

241{
262};
@ RCC_MCOSources_PLL_DividedBy2
PLL clock divided by 2 selected as MCO.
Definition: RCC_interface.h:261
@ RCC_MCOSources_HSE
HSE clock selected as MCO.
Definition: RCC_interface.h:257
@ RCC_MCOSources_HSI
HSI clock selected as MCO.
Definition: RCC_interface.h:253
@ RCC_MCOSources_SystemClock
System clock selected as MCO.
Definition: RCC_interface.h:249
@ RCC_MCOSources_NoClock
No clock selected as MCO.
Definition: RCC_interface.h:245

◆ RCC_USBPrescaler

#include <MCAL/RCC/RCC_interface.h>

This enum contains the USB prescaler factors.

This enum contains the USB prescaler factors

Enumerator
RCC_USBPrescaler_1_5 

USB clock divided by 1.5.

RCC_USBPrescaler_1 

USB clock divided by 1.

270{
279};
@ RCC_USBPrescaler_1
USB clock divided by 1.
Definition: RCC_interface.h:278
@ RCC_USBPrescaler_1_5
USB clock divided by 1.5.
Definition: RCC_interface.h:274

◆ t_RCC_APB2Peripherals

#include <MCAL/RCC/RCC_interface.h>

This enum contains the APB2 peripherals that are connected to the APB2 bus.

This enum contains the APB2 peripherals that are connected to the APB2 bus

Enumerator
RCC_APB2Peripherals_AFIO 

Alternate function I/O clock.

RCC_APB2Peripherals_PORTA 

I/O port A clock.

RCC_APB2Peripherals_PORTB 

I/O port B clock.

RCC_APB2Peripherals_PORTC 

I/O port C clock.

RCC_APB2Peripherals_PORTD 

I/O port D clock.

RCC_APB2Peripherals_PORTE 

I/O port E clock.

RCC_APB2Peripherals_PORTF 

I/O port F clock.

RCC_APB2Peripherals_PORTG 

I/O port G clock.

RCC_APB2Peripherals_ADC1 

ADC 1 interface clock.

RCC_APB2Peripherals_ADC2 

ADC 2 interface clock.

RCC_APB2Peripherals_TIM1 

Timer 1 (TIM1) clock.

RCC_APB2Peripherals_SPI1 

SPI 1 clock.

RCC_APB2Peripherals_USART1 

USART1 clock.

RCC_APB2Peripherals_ADC3 

ADC 3 interface clock.

287{
t_RCC_APB2Peripherals
This enum contains the APB2 peripherals that are connected to the APB2 bus.
Definition: RCC_interface.h:287
@ RCC_APB2Peripherals_PORTF
I/O port F clock.
Definition: RCC_interface.h:315
@ RCC_APB2Peripherals_PORTA
I/O port A clock.
Definition: RCC_interface.h:295
@ RCC_APB2Peripherals_ADC2
ADC 2 interface clock.
Definition: RCC_interface.h:327
@ RCC_APB2Peripherals_TIM1
Timer 1 (TIM1) clock.
Definition: RCC_interface.h:331
@ RCC_APB2Peripherals_PORTB
I/O port B clock.
Definition: RCC_interface.h:299
@ RCC_APB2Peripherals_SPI1
SPI 1 clock.
Definition: RCC_interface.h:335
@ RCC_APB2Peripherals_ADC3
ADC 3 interface clock.
Definition: RCC_interface.h:343
@ RCC_APB2Peripherals_PORTG
I/O port G clock.
Definition: RCC_interface.h:319
@ RCC_APB2Peripherals_PORTD
I/O port D clock.
Definition: RCC_interface.h:307
@ RCC_APB2Peripherals_PORTC
I/O port C clock.
Definition: RCC_interface.h:303
@ RCC_APB2Peripherals_ADC1
ADC 1 interface clock.
Definition: RCC_interface.h:323
@ RCC_APB2Peripherals_PORTE
I/O port E clock.
Definition: RCC_interface.h:311
@ RCC_APB2Peripherals_AFIO
Alternate function I/O clock.
Definition: RCC_interface.h:291
@ RCC_APB2Peripherals_USART1
USART1 clock.
Definition: RCC_interface.h:339

◆ t_RCC_APB1Peripherals

#include <MCAL/RCC/RCC_interface.h>

This enum contains the APB1 peripherals that are connected to the APB1 bus.

This enum contains the APB1 peripherals that are connected to the APB1 bus

Enumerator
RCC_APB1Peripherals_TIM2 

Timer 2 (TIM2) clock.

RCC_APB1Peripherals_TIM3 

Timer 3 (TIM3) clock.

RCC_APB1Peripherals_TIM4 

Timer 4 (TIM4) clock.

RCC_APB1Peripherals_TIM5 

Timer 5 (TIM5) clock.

RCC_APB1Peripherals_TIM6 

Timer 6 (TIM6) clock.

RCC_APB1Peripherals_TIM7 

Timer 7 (TIM7) clock.

RCC_APB1Peripherals_WWDG 

Window watchdog (WWDG) clock.

RCC_APB1Peripherals_SPI2 

SPI 2 clock.

RCC_APB1Peripherals_SPI3 

SPI 3 clock.

RCC_APB1Peripherals_USART2 

USART 2 clock.

RCC_APB1Peripherals_USART3 

USART 3 clock.

RCC_APB1Peripherals_UART4 

UART 4 clock.

RCC_APB1Peripherals_UART5 

UART 5 clock.

RCC_APB1Peripherals_I2C1 

I2C 1 clock.

RCC_APB1Peripherals_I2C2 

I2C 2 clock.

RCC_APB1Peripherals_USB 

USB clock.

RCC_APB1Peripherals_CAN 

CAN clock.

RCC_APB1Peripherals_BKP 

Backup interface clock.

RCC_APB1Peripherals_PWR 

Power interface clock.

RCC_APB1Peripherals_DAC 

DAC interface clock.

352{
t_RCC_APB1Peripherals
This enum contains the APB1 peripherals that are connected to the APB1 bus.
Definition: RCC_interface.h:352
@ RCC_APB1Peripherals_TIM5
Timer 5 (TIM5) clock.
Definition: RCC_interface.h:368
@ RCC_APB1Peripherals_TIM6
Timer 6 (TIM6) clock.
Definition: RCC_interface.h:372
@ RCC_APB1Peripherals_USB
USB clock.
Definition: RCC_interface.h:416
@ RCC_APB1Peripherals_USART2
USART 2 clock.
Definition: RCC_interface.h:392
@ RCC_APB1Peripherals_CAN
CAN clock.
Definition: RCC_interface.h:420
@ RCC_APB1Peripherals_BKP
Backup interface clock.
Definition: RCC_interface.h:424
@ RCC_APB1Peripherals_WWDG
Window watchdog (WWDG) clock.
Definition: RCC_interface.h:380
@ RCC_APB1Peripherals_UART5
UART 5 clock.
Definition: RCC_interface.h:404
@ RCC_APB1Peripherals_TIM7
Timer 7 (TIM7) clock.
Definition: RCC_interface.h:376
@ RCC_APB1Peripherals_DAC
DAC interface clock.
Definition: RCC_interface.h:432
@ RCC_APB1Peripherals_TIM3
Timer 3 (TIM3) clock.
Definition: RCC_interface.h:360
@ RCC_APB1Peripherals_UART4
UART 4 clock.
Definition: RCC_interface.h:400
@ RCC_APB1Peripherals_SPI3
SPI 3 clock.
Definition: RCC_interface.h:388
@ RCC_APB1Peripherals_PWR
Power interface clock.
Definition: RCC_interface.h:428
@ RCC_APB1Peripherals_SPI2
SPI 2 clock.
Definition: RCC_interface.h:384
@ RCC_APB1Peripherals_TIM4
Timer 4 (TIM4) clock.
Definition: RCC_interface.h:364
@ RCC_APB1Peripherals_I2C2
I2C 2 clock.
Definition: RCC_interface.h:412
@ RCC_APB1Peripherals_TIM2
Timer 2 (TIM2) clock.
Definition: RCC_interface.h:356
@ RCC_APB1Peripherals_I2C1
I2C 1 clock.
Definition: RCC_interface.h:408
@ RCC_APB1Peripherals_USART3
USART 3 clock.
Definition: RCC_interface.h:396

◆ t_RCC_AHBPeripherals

#include <MCAL/RCC/RCC_interface.h>

This enum contains the AHB peripherals that are connected to the AHB bus.

This enum contains the AHB peripherals that are connected to the AHB bus

Enumerator
RCC_AHBPeripherals_DMA1 

DMA 1 clock.

RCC_AHBPeripherals_DMA2 

DMA 2 clock.

RCC_AHBPeripherals_CRC 

CRC clock.

441{
t_RCC_AHBPeripherals
This enum contains the AHB peripherals that are connected to the AHB bus.
Definition: RCC_interface.h:441
@ RCC_AHBPeripherals_DMA1
DMA 1 clock.
Definition: RCC_interface.h:445
@ RCC_AHBPeripherals_DMA2
DMA 2 clock.
Definition: RCC_interface.h:449
@ RCC_AHBPeripherals_CRC
CRC clock.
Definition: RCC_interface.h:453