![]() |
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
CMSIS Cortex-M4 Core Peripheral Access Layer Source File for M480. More...
#include "NuMicro.h"
Go to the source code of this file.
Functions | |
void | SystemCoreClockUpdate (void) |
Updates the SystemCoreClock with current core Clock retrieved from cpu registers. More... | |
static __INLINE void | HXTInit (void) |
Set PF.2 and PF.3 to input mode. More... | |
void | SystemInit (void) |
Initialize the System. More... | |
Variables | |
uint32_t | SystemCoreClock = __SYSTEM_CLOCK |
uint32_t | CyclesPerUs = (__HSI / 1000000UL) |
uint32_t | PllClock = __HSI |
uint32_t | gau32ClkSrcTbl [] = {__HXT, __LXT, 0UL, __LIRC, 0UL, 0UL, 0UL, __HIRC} |
CMSIS Cortex-M4 Core Peripheral Access Layer Source File for M480.
SPDX-License-Identifier: Apache-2.0
Definition in file system_M480.c.
|
static |
Set PF.2 and PF.3 to input mode.
None |
GPIO default state could be configured as input or quasi through user config. To use HXT, PF.2 and PF.3 must not set as quasi mode. This function changes PF.2 and PF.3 to input mode no matter which mode they are working at.
Definition at line 70 of file system_M480.c.
void SystemCoreClockUpdate | ( | void | ) |
Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
Update SystemCoreClock variable
none |
Definition at line 29 of file system_M480.c.
void SystemInit | ( | void | ) |
Initialize the System.
Setup the micro controller system. Initialize the System and update the SystemCoreClock variable.
none |
Definition at line 82 of file system_M480.c.
uint32_t CyclesPerUs = (__HSI / 1000000UL) |
Cycles per micro second
Definition at line 22 of file system_M480.c.
Definition at line 24 of file system_M480.c.
uint32_t PllClock = __HSI |
PLL Output Clock Frequency
Definition at line 23 of file system_M480.c.
uint32_t SystemCoreClock = __SYSTEM_CLOCK |
System Clock Frequency (Core Clock)
Definition at line 21 of file system_M480.c.