VSF Documented
Macros | Functions | Variables
system_CMSDK_CM3.c File Reference

CMSIS Device System Source File for CMSDK_M3 Device. More...

#include "CMSDK_CM3.h"

Macros

#define XTAL   (50000000UL) /* Oscillator frequency */
 
#define SYSTEM_CLOCK   (XTAL / 2)
 

Functions

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

Variables

uint32_t SystemCoreClock = SYSTEM_CLOCK
 

Detailed Description

CMSIS Device System Source File for CMSDK_M3 Device.

Version
V4.00
Date
02. November 2015

Macro Definition Documentation

◆ XTAL

#define XTAL   (50000000UL) /* Oscillator frequency */

◆ SYSTEM_CLOCK

#define SYSTEM_CLOCK   (XTAL / 2)

Function Documentation

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void  )

Update SystemCoreClock variable.

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

◆ SystemInit()

void SystemInit ( void  )

Setup the microcontroller system.

Initialize the System and update the SystemCoreClock variable.

Variable Documentation

◆ SystemCoreClock

uint32_t SystemCoreClock = SYSTEM_CLOCK

System Clock Frequency (Core Clock)