STM32 Blue Pill Drivers
Drivers that could be used to interface and interact with STM32F103C8T6 Microcontroller
|
RCC exported functions. More...
Functions | |
void | RCC_vInit (void) |
This function initializes the RCC peripheral. More... | |
void | RCC_vEnablePeripheralABP2 (t_RCC_APB2Peripherals enuPeripheral) |
This function enables the clock of a peripheral connected to the APB2 bus. More... | |
void | RCC_vDisablePeripheralABP2 (t_RCC_APB2Peripherals enuPeripheral) |
This function disables the clock of a peripheral connected to the APB2 bus. More... | |
void | RCC_vEnablePeripheralABP1 (t_RCC_APB1Peripherals enuPeripheral) |
This function enables the clock of a peripheral connected to the APB1 bus. More... | |
void | RCC_vDisablePeripheralABP1 (t_RCC_APB1Peripherals enuPeripheral) |
This function disables the clock of a peripheral connected to the APB1 bus. More... | |
void | RCC_vEnablePeripheralAHB (t_RCC_AHBPeripherals enuPeripheral) |
This function enables the clock of a peripheral connected to the AHB bus. More... | |
void | RCC_vDisablePeripheralAHB (t_RCC_AHBPeripherals enuPeripheral) |
This function disables the clock of a peripheral connected to the AHB bus. More... | |
RCC exported functions.
void RCC_vInit | ( | void | ) |
#include <MCAL/RCC/RCC_interface.h>
This function initializes the RCC peripheral.
This function initializes the RCC peripheral
References RCC_SYSTEM_CLOCK_SOURCE, RCC_SystemClock_HSE, RCC_SystemClock_HSI, RCC_SystemClock_PLL, RCC_vInitHSEClock(), RCC_vInitHSIClock(), RCC_vInitMCO(), RCC_vInitPLL(), RCC_vInitSystemClock(), RCC_vSetADCPreScaler(), RCC_vSetAHBPrescaler(), RCC_vSetAPB1Prescaler(), RCC_vSetAPB2Prescaler(), and RCC_vSetUSBPrescaler().
Referenced by vAPPS_main().
void RCC_vEnablePeripheralABP2 | ( | t_RCC_APB2Peripherals | enuPeripheral | ) |
#include <MCAL/RCC/RCC_interface.h>
This function enables the clock of a peripheral connected to the APB2 bus.
This function enables the clock of a peripheral connected to the APB2 bus
[in] | enuPeripheral | Peripheral to be enabled |
References RCC_vSetAPB2PeripheralClockStatus(), and TRUE.
Referenced by vTestApp_TestingGPIO_main().
void RCC_vDisablePeripheralABP2 | ( | t_RCC_APB2Peripherals | enuPeripheral | ) |
#include <MCAL/RCC/RCC_interface.h>
This function disables the clock of a peripheral connected to the APB2 bus.
This function disables the clock of a peripheral connected to the APB2 bus
[in] | enuPeripheral | Peripheral to be disabled |
References FALSE, and RCC_vSetAPB2PeripheralClockStatus().
void RCC_vEnablePeripheralABP1 | ( | t_RCC_APB1Peripherals | enuPeripheral | ) |
#include <MCAL/RCC/RCC_interface.h>
This function enables the clock of a peripheral connected to the APB1 bus.
This function enables the clock of a peripheral connected to the APB1 bus
[in] | enuPeripheral | Peripheral to be enabled |
References RCC_vSetAPB1PeripheralClockStatus(), and TRUE.
void RCC_vDisablePeripheralABP1 | ( | t_RCC_APB1Peripherals | enuPeripheral | ) |
#include <MCAL/RCC/RCC_interface.h>
This function disables the clock of a peripheral connected to the APB1 bus.
This function disables the clock of a peripheral connected to the APB1 bus
[in] | enuPeripheral | Peripheral to be disabled |
References FALSE, and RCC_vSetAPB1PeripheralClockStatus().
void RCC_vEnablePeripheralAHB | ( | t_RCC_AHBPeripherals | enuPeripheral | ) |
#include <MCAL/RCC/RCC_interface.h>
This function enables the clock of a peripheral connected to the AHB bus.
This function enables the clock of a peripheral connected to the AHB bus
[in] | enuPeripheral | Peripheral to be enabled |
References RCC_vSetAHBPeripheralClockStatus(), and TRUE.
void RCC_vDisablePeripheralAHB | ( | t_RCC_AHBPeripherals | enuPeripheral | ) |
#include <MCAL/RCC/RCC_interface.h>
This function disables the clock of a peripheral connected to the AHB bus.
This function disables the clock of a peripheral connected to the AHB bus
[in] | enuPeripheral | Peripheral to be disabled |
References FALSE, and RCC_vSetAHBPeripheralClockStatus().