MG32F10x Standard Peripherals Firmware Library
|
This file provides all the RCC firmware functions. More...
#include "mg32f10x_rcc.h"
Functions | |
void | RCC_PLLSourceConfig (uint32_t RCC_PLLSource, FunctionalState NewState) |
Configures the PLL clock source. More... | |
void | RCC_MAINCLKConfig (uint32_t RCC_MAINCLKSource) |
Configures the main clock (MAINCLK). More... | |
void | RCC_USBCLKConfig (uint32_t RCC_USBCLKSource, FunctionalState NewState) |
Configures the USB clock (USBCLK). More... | |
void | RCC_AHBCLKConfig (uint32_t RCC_MAINCLK) |
Configures the AHB clock (AHBCLK). More... | |
void | RCC_APB1CLKConfig (uint32_t RCC_MAINCLK, FunctionalState NewState) |
Configures the APB1 clock (APB1CLK). More... | |
void | RCC_APB2CLKConfig (uint32_t RCC_MAINCLK, FunctionalState NewState) |
Configures the APB2 clock (APB2CLK). More... | |
void | RCC_MCLKConfig (uint32_t RCC_MCLKSource, FunctionalState NewState) |
Configures the I2S MCLK clock (MCLK). More... | |
void | RCC_I2SCLKConfig (uint32_t RCC_MCLK, FunctionalState NewState) |
Configures the I2S SCLK clock (I2SCLK). More... | |
void | RCC_I2SCLKResetCmd (FunctionalState NewState) |
Forces or releases the I2S SCLK clock domain reset. More... | |
void | RCC_RNGCLKCmd (FunctionalState NewState) |
Enables or disables the RNG clock (RNGCLK). More... | |
void | RCC_IWDGCLKCmd (FunctionalState NewState) |
Enables or disables the IWDG clock (IWDGCLK). More... | |
void | RCC_DCSSCLKCmd (FunctionalState NewState) |
Enables or disables the DCSS clock. More... | |
void | RCC_SPIS1CLKCmd (FunctionalState NewState) |
Enables or disables the SPIS1 clock (SPIS1CLK). More... | |
void | RCC_SPIS2CLKCmd (FunctionalState NewState) |
Enables or disables the SPIS2 clock (SPIS2CLK). More... | |
void | RCC_USBFIFOCLKConfig (uint32_t RCC_USBFIFOCLKSource) |
Configures the USB FIFO clock (USBFIFOCLK). More... | |
void | RCC_USBFIFOCLKCmd (FunctionalState NewState) |
Enables or disables the USB FIFO clock (USBFIFOCLK). More... | |
void | RCC_MCOConfig (uint32_t RCC_MCO) |
Selects the clock source to output on MCO pin. More... | |
void | RCC_GetClocksFreq (RCC_ClocksTypeDef *RCC_Clocks) |
Returns the frequencies of different on chip clocks. More... | |
void | RCC_AHBPeriphClockCmd (uint32_t RCC_AHBPeriph, FunctionalState NewState) |
Enables or disables the AHB peripheral clock. More... | |
void | RCC_APB1PeriphClockCmd (uint32_t RCC_APB1Periph, FunctionalState NewState) |
Enables or disables the APB1 peripheral clock. More... | |
void | RCC_APB2PeriphClockCmd (uint32_t RCC_APB2Periph, FunctionalState NewState) |
Enables or disables the APB2 peripheral clock. More... | |
void | RCC_AHBPeriphResetCmd (uint32_t RCC_AHBPeriph, FunctionalState NewState) |
Forces or releases AHB peripheral reset. More... | |
void | RCC_APB1PeriphResetCmd (uint32_t RCC_APB1Periph, FunctionalState NewState) |
Forces or releases APB1 peripheral reset. More... | |
void | RCC_APB2PeriphResetCmd (uint32_t RCC_APB2Periph, FunctionalState NewState) |
Forces or releases APB2 peripheral reset. More... | |
void | RCC_BackupResetCmd (FunctionalState NewState) |
Forces or releases the Backup domain reset. More... | |
FlagStatus | RCC_GetResetFlagStatus (uint32_t RCC_RSTFLAG) |
Checks whether the specified RCC reset flag is set or not. More... | |
void | RCC_ClearResetFlags (void) |
Clears the RCC reset flags. More... | |
This file provides all the RCC firmware functions.