MG32F10x Standard Peripherals Firmware Library
函数 | 变量
system_mg32f10x.h 文件参考

CMSIS Device System Header File for MG32F10x Device Series 更多...

浏览源代码.

函数

void SystemInit (void)
 Setup the microcontroller system. 更多...
 
void SystemCoreClockUpdate (void)
 Update SystemCoreClock variable. 更多...
 

变量

uint32_t SystemCoreClock
 

详细描述

CMSIS Device System Header File for MG32F10x Device Series

版本
V0.1.10
日期
05-January-2023

函数说明

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void  )

Update SystemCoreClock variable.

Updates the SystemCoreClock with current core Clock retrieved from cpu registers.

Update SystemCoreClock variable.

注解
Each time the core clock (HCLK) changes, this function must be called to update SystemCoreClock variable value. Otherwise, any configuration based on this variable will be incorrect.
参数
None
返回
None

◆ SystemInit()

void SystemInit ( void  )

Setup the microcontroller system.

Initialize the System and update the SystemCoreClock variable.

Setup the microcontroller system.

注解
This function should be used only after reset.
参数
None
返回
None

变量说明

◆ SystemCoreClock

uint32_t SystemCoreClock

System Clock Frequency (Core Clock)