M471M/R1/S BSP V3.01.000
The Board Support Package for M4521
Functions | Variables
system_M471M_R1_S.c File Reference

CMSIS Cortex-M4 Core Peripheral Access Layer Source File for M471M/R1/S. More...

#include "NuMicro.h"
Include dependency graph for system_M471M_R1_S.c:

Go to the source code of this file.

Functions

void SystemCoreClockUpdate (void)
 Updates the SystemCoreClock with current core Clock retrieved from cpu registers. More...
 
void SystemInit (void)
 Setup the microcontroller system. Initialize the System. More...
 

Variables

uint32_t SystemCoreClock = __SYSTEM_CLOCK
 
uint32_t CyclesPerUs = (__HSI / 1000000)
 
uint32_t PllClock = __HSI
 
uint32_t gau32ClkSrcTbl [] = {__HXT, __LXT, 0, __LIRC, 0, 0, 0, __HIRC}
 

Detailed Description

CMSIS Cortex-M4 Core Peripheral Access Layer Source File for M471M/R1/S.

SPDX-License-Identifier: Apache-2.0

Definition in file system_M471M_R1_S.c.

Function Documentation

◆ SystemCoreClockUpdate()

void SystemCoreClockUpdate ( void  )

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

Update SystemCoreClock variable

Parameters
None
Returns
None

Definition at line 28 of file system_M471M_R1_S.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SystemInit()

void SystemInit ( void  )

Setup the microcontroller system. Initialize the System.

Setup the microcontroller system. Initialize the System and update the SystemCoreClock variable.

Initialize the system

Parameters
None
Returns
None

Definition at line 72 of file system_M471M_R1_S.c.

Here is the call graph for this function:

Variable Documentation

◆ CyclesPerUs

uint32_t CyclesPerUs = (__HSI / 1000000)

Cycles per micro second

Definition at line 21 of file system_M471M_R1_S.c.

◆ gau32ClkSrcTbl

uint32_t gau32ClkSrcTbl[] = {__HXT, __LXT, 0, __LIRC, 0, 0, 0, __HIRC}

Definition at line 23 of file system_M471M_R1_S.c.

◆ PllClock

uint32_t PllClock = __HSI

PLL Output Clock Frequency

Definition at line 22 of file system_M471M_R1_S.c.

◆ SystemCoreClock

uint32_t SystemCoreClock = __SYSTEM_CLOCK

System Clock Frequency (Core Clock)

Definition at line 20 of file system_M471M_R1_S.c.