![]() |
M471M/R1/S BSP V3.01.000
The Board Support Package for M4521
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | DEBUG_PORT UART0 |
#define | __HSI (12000000UL) |
#define | __HXT (12000000UL) |
#define | __LXT (32768UL) |
#define | __HIRC (22118400UL) |
#define | __LIRC (10000UL) |
#define | __SYS_OSC_CLK ( ___HSI) /* Main oscillator frequency */ |
#define | __SYSTEM_CLOCK (1*__HXT) |
Functions | |
void | SystemInit (void) |
Setup the microcontroller system. Initialize the System and update the SystemCoreClock variable. More... | |
void | SystemCoreClockUpdate (void) |
Updates the SystemCoreClock with current core Clock retrieved from cpu registers. More... | |
Variables | |
uint32_t | SystemCoreClock |
uint32_t | CyclesPerUs |
uint32_t | PllClock |
#define __HIRC (22118400UL) |
Internal 22M RC Oscillator Frequency
Definition at line 33 of file system_M471M_R1_S.h.
#define __HSI (12000000UL) |
PLL default output is 72MHz
Definition at line 30 of file system_M471M_R1_S.h.
#define __HXT (12000000UL) |
External Crystal Clock Frequency
Definition at line 31 of file system_M471M_R1_S.h.
#define __LIRC (10000UL) |
Internal 10K RC Oscillator Frequency
Definition at line 34 of file system_M471M_R1_S.h.
#define __LXT (32768UL) |
External Crystal Clock Frequency 32.768KHz
Definition at line 32 of file system_M471M_R1_S.h.
#define __SYS_OSC_CLK ( ___HSI) /* Main oscillator frequency */ |
Definition at line 35 of file system_M471M_R1_S.h.
#define __SYSTEM_CLOCK (1*__HXT) |
Definition at line 38 of file system_M471M_R1_S.h.
#define DEBUG_PORT UART0 |
Select Debug Port which is used for retarget.c to output debug message to UART
Definition at line 22 of file system_M471M_R1_S.h.
void SystemCoreClockUpdate | ( | void | ) |
Updates the SystemCoreClock with current core Clock retrieved from cpu registers.
Update SystemCoreClock variable
None |
Definition at line 28 of file system_M471M_R1_S.c.
void SystemInit | ( | void | ) |
Setup the microcontroller system. Initialize the System and update the SystemCoreClock variable.
Initialize the system
None |
Setup the microcontroller system. Initialize the System and update the SystemCoreClock variable.
Initialize the system
None |
Definition at line 72 of file system_M471M_R1_S.c.
|
extern |
Cycles per micro second
Definition at line 21 of file system_M471M_R1_S.c.
|
extern |
PLL Output Clock Frequency
Definition at line 22 of file system_M471M_R1_S.c.
|
extern |
System Clock Frequency (Core Clock)
System Clock Frequency (Core Clock)
Definition at line 20 of file system_M471M_R1_S.c.