MG32F10x Standard Peripherals Firmware Library
|
CMSIS Device System Source File for MG32F10x Device Series. More...
#include "mg32f10x.h"
Macros | |
#define | VECT_TAB_OFFSET 0x0 |
Functions | |
void | SystemInit (void) |
Setup the microcontroller system. 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 = MHSI_VALUE |
CMSIS Device System Source File for MG32F10x Device Series.
#define VECT_TAB_OFFSET 0x0 |
< Uncomment the line corresponding to the desired Main clock (MAINCLK) frequency (after reset, the MHSI is used as MAINCLK source)
Tip: To avoid modifying this file each time you need to use different Main clock, you can define the MAINCLK_FREQ_x in your toolchain compiler preprocessor.
< Uncomment the following line if you need to relocate your vector Table in Internal SRAM. Vector Table base offset field. This value must be a multiple of 0x100.
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.
Update SystemCoreClock variable.
None |
void SystemInit | ( | void | ) |
Setup the microcontroller system.
None |
uint32_t SystemCoreClock = MHSI_VALUE |
System Clock Frequency (Core Clock)