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

This group contains the configuration parameters of the RCC module. More...

+ Collaboration diagram for RCC Configuration:

Macros

#define RCC_PLL_SRC   (RCC_PLLSource_HSE)
 This macro defines the PLL source. More...
 
#define RCC_PLL_MUL   (RCC_PLLMulFactors_9)
 This macro defines the PLL multiplication factor. More...
 
#define RCC_PLL_HSE_DIVIDE_BY_2   (TRUE)
 This macro defines the PLL entry HSE divider. More...
 
#define RCC_SYSTEM_CLOCK_SOURCE   (RCC_SystemClock_PLL)
 This macro defines the system clock source. More...
 
#define RCC_MCO_SOURCE   (RCC_MCOSources_NoClock)
 This macro defines the MCO source. More...
 
#define RCC_ADC_PRESCALER   (RCC_ADCPrescaler_DividedBy4)
 This macro defines the ADC clock prescaler. More...
 
#define RCC_AHB_PRESCALER   (RCC_AHBPrescaler_NotDivided)
 This macro defines the AHB clock prescaler. More...
 
#define RCC_APB1_PRESCALER   (RCC_APBPrescaler_NotDivided)
 This macro defines the APB1 clock prescaler. More...
 
#define RCC_APB2_PRESCALER   (RCC_APBPrescaler_NotDivided)
 This macro defines the APB2 clock prescaler. More...
 
#define RCC_USB_PRESCALER   (RCC_USBPrescaler_1)
 This macro defines the USB clock prescaler. More...
 
#define RCC_ENABLE_CSS   (FALSE)
 This macro defines the clock security system state. More...
 

Detailed Description

This group contains the configuration parameters of the RCC module.

Macro Definition Documentation

◆ RCC_PLL_SRC

#define RCC_PLL_SRC   (RCC_PLLSource_HSE)

#include <MCAL/RCC/RCC_config.h>

This macro defines the PLL source.

This macro defines the PLL source

See also
RCC_PLLSource

◆ RCC_PLL_MUL

#define RCC_PLL_MUL   (RCC_PLLMulFactors_9)

#include <MCAL/RCC/RCC_config.h>

This macro defines the PLL multiplication factor.

This macro defines the PLL multiplication factor

See also
RCC_PLLMulFactors

◆ RCC_PLL_HSE_DIVIDE_BY_2

#define RCC_PLL_HSE_DIVIDE_BY_2   (TRUE)

#include <MCAL/RCC/RCC_config.h>

This macro defines the PLL entry HSE divider.

This macro defines the PLL entry HSE divider Options:

  • FALSE: HSE clock is not divided
  • TRUE: HSE clock divided by 2

◆ RCC_SYSTEM_CLOCK_SOURCE

#define RCC_SYSTEM_CLOCK_SOURCE   (RCC_SystemClock_PLL)

#include <MCAL/RCC/RCC_config.h>

This macro defines the system clock source.

This macro defines the system clock source

See also
RCC_SystemClock

◆ RCC_MCO_SOURCE

#define RCC_MCO_SOURCE   (RCC_MCOSources_NoClock)

#include <MCAL/RCC/RCC_config.h>

This macro defines the MCO source.

This macro defines the MCO source

See also
RCC_MCOSources

◆ RCC_ADC_PRESCALER

#define RCC_ADC_PRESCALER   (RCC_ADCPrescaler_DividedBy4)

#include <MCAL/RCC/RCC_config.h>

This macro defines the ADC clock prescaler.

This macro defines the ADC clock prescaler

See also
RCC_ADCPrescaler

◆ RCC_AHB_PRESCALER

#define RCC_AHB_PRESCALER   (RCC_AHBPrescaler_NotDivided)

#include <MCAL/RCC/RCC_config.h>

This macro defines the AHB clock prescaler.

This macro defines the AHB clock prescaler

See also
RCC_AHBPrescaler

◆ RCC_APB1_PRESCALER

#define RCC_APB1_PRESCALER   (RCC_APBPrescaler_NotDivided)

#include <MCAL/RCC/RCC_config.h>

This macro defines the APB1 clock prescaler.

This macro defines the APB1 clock prescaler

See also
RCC_APBPrescaler

◆ RCC_APB2_PRESCALER

#define RCC_APB2_PRESCALER   (RCC_APBPrescaler_NotDivided)

#include <MCAL/RCC/RCC_config.h>

This macro defines the APB2 clock prescaler.

This macro defines the APB2 clock prescaler

See also
RCC_APBPrescaler

◆ RCC_USB_PRESCALER

#define RCC_USB_PRESCALER   (RCC_USBPrescaler_1)

#include <MCAL/RCC/RCC_config.h>

This macro defines the USB clock prescaler.

This macro defines the USB clock prescaler

See also
RCC_USBPrescaler

◆ RCC_ENABLE_CSS

#define RCC_ENABLE_CSS   (FALSE)

#include <MCAL/RCC/RCC_config.h>

This macro defines the clock security system state.

This macro defines the clock security system state Options:

  • FALSE: CSS disabled
  • TRUE: CSS enabled