MG32F10x Standard Peripherals Firmware Library
函数
mg32f10x_rcc.c 文件参考

This file provides all the RCC firmware functions. 更多...

#include "mg32f10x_rcc.h"

函数

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

详细描述

This file provides all the RCC firmware functions.

作者
megawin Application Team
版本
V0.1.10
日期
05-January-2023