STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
rcc.c File Reference

This file contains the RCC (Reset and Clock Control) driver implementation for enabling and disabling peripheral clocks and managing reset flags. More...

#include "rcc.h"
#include "mcu_hal.h"

Go to the source code of this file.

Functions

void RccEnableCrc (void)
 Enable the CRC peripheral clock.
 
void RccDisableCrc (void)
 Disable the CRC peripheral clock.
 
void RccEnableDma2 (void)
 Enable the DMA2 peripheral clock.
 
void RccDisableDma2 (void)
 Disable the DMA2 peripheral clock.
 
void RccEnableFlash (void)
 Enable the flash interface clock.
 
void RccDisableFlash (void)
 Disable the flash interface clock.
 
void RccEnablePortA (void)
 Enable the GPIO port A clock.
 
void RccDisablePortA (void)
 Disable the GPIO port A clock.
 
void RccEnablePortB (void)
 Enable the GPIO port B clock.
 
void RccDisablePortB (void)
 Disable the GPIO port B clock.
 
void RccEnablePortC (void)
 Enable the GPIO port C clock.
 
void RccDisablePortC (void)
 Disable the GPIO port C clock.
 
void RccEnablePortD (void)
 Enable the GPIO port D clock.
 
void RccDisablePortD (void)
 Disable the GPIO port D clock.
 
void RccEnablePwr (void)
 Enable the PWR clock.
 
void RccDisablePwr (void)
 Disable the PWR clock.
 
void RccEnableSdmmc1 (void)
 Enable the SDMMC1 peripheral clock.
 
void RccDisableSdmmc1 (void)
 Disable the SDMMC1 peripheral clock.
 
void RccEnableSysCfg (void)
 Enable the SYSCFG clock.
 
void RccDisableSysCfg (void)
 Disable the SYSCFG clock.
 
void RccEnableUart2 (void)
 Enable the USART2 peripheral clock.
 
void RccDisableUart2 (void)
 Disable the USART2 peripheral clock.
 
bool RccResetFlagOblIsSet (void)
 Check if the option byte loader reset flag is set. More...
 
void RccResetFlagsClear (void)
 Clear all RCC reset flags.
 

Detailed Description

This file contains the RCC (Reset and Clock Control) driver implementation for enabling and disabling peripheral clocks and managing reset flags.

STM32 Bootloader

Author
Akos Pasztor

Definition in file rcc.c.