MG32L003 Standard Peripherals Firmware Library
Macros | Functions | Variables
system_mg32l003.c File Reference

CMSIS Device System Source File for MG32L003 Device Series. More...

#include "mg32l003.h"

Macros

#define HSI_VALUE_24M   ((uint32_t)24000000)
 
#define HSI_VALUE_22M   ((uint32_t)22120000)
 
#define HSI_VALUE_16M   ((uint32_t)16000000)
 
#define HSI_VALUE_8M   ((uint32_t)8000000)
 
#define HSI_VALUE_4M   ((uint32_t)4000000)
 
#define VECT_TAB_OFFSET   0x00000000U
 

Functions

void SystemInit (void)
 Setup the microcontroller system Initialize the Embedded Flash Interface, the PLL and update the SystemCoreClock variable. More...
 
void SystemCoreClockUpdate (void)
 Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable contains the core clock (HCLK), it can be used by the user application to setup the SysTick timer or configure other parameters. More...
 

Variables

uint32_t SystemCoreClock = 4000000
 

Detailed Description

CMSIS Device System Source File for MG32L003 Device Series.

Version
V0.0.5
Date
13-August-2024

Macro Definition Documentation

◆ HSI_VALUE_16M

#define HSI_VALUE_16M   ((uint32_t)16000000)

Value of the Internal oscillator select 16MHz

◆ HSI_VALUE_22M

#define HSI_VALUE_22M   ((uint32_t)22120000)

Value of the Internal oscillator select 22.12MHz

◆ HSI_VALUE_24M

#define HSI_VALUE_24M   ((uint32_t)24000000)

Value of the Internal oscillator select 24MHz

◆ HSI_VALUE_4M

#define HSI_VALUE_4M   ((uint32_t)4000000)

Value of the Internal oscillator select 4MHz

◆ HSI_VALUE_8M

#define HSI_VALUE_8M   ((uint32_t)8000000)

Value of the Internal oscillator select 8MHz

◆ VECT_TAB_OFFSET

#define VECT_TAB_OFFSET   0x00000000U

< Uncomment the following line if you need to relocate your vector Table in Internal SRAM. Vector Table base offset field.