MG32F157 Standard Peripherals Firmware Library
|
CMSIS Cortex-M3 Device Peripheral Access Layer System Source File. More...
#include "mg32f157.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 = HSI_VALUE |
CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
#define VECT_TAB_OFFSET 0x0 |
< Uncomment the line corresponding to the desired System clock (SYSCLK) frequency (after reset the HSI is used as SYSCLK source)
< 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 0x200.
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 = HSI_VALUE |
< HSI Selected as System Clock source System Clock Frequency (Core Clock)