MG32F10x Standard Peripherals Firmware Library
Functions | Variables
system_mg32f10x.h File Reference

CMSIS Device System Header File for MG32F10x Device Series. More...

Go to the source code of this file.

Functions

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

Variables

uint32_t SystemCoreClock
 

Detailed Description

CMSIS Device System Header File for MG32F10x Device Series.

Version
V0.1.10
Date
05-January-2023

Function Documentation

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void  )

Update SystemCoreClock variable.

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

Update SystemCoreClock variable.

Note
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.
Parameters
None
Returns
None

◆ SystemInit()

void SystemInit ( void  )

Setup the microcontroller system.

Initialize the System and update the SystemCoreClock variable.

Note
This function should be used only after reset.
Parameters
None
Returns
None

Variable Documentation

◆ SystemCoreClock

uint32_t SystemCoreClock

System Clock Frequency (Core Clock)