![]() |
NUC472_NUC442_BSP V3.03.004
The Board Support Package for NUC472/NUC442
|
NUC472/NUC442 system clock definition file. More...
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | __HXT (12000000UL) |
#define | __LXT (32768UL) |
#define | __HIRC (22118400UL) |
#define | __LIRC (10000UL) |
#define | __HSI (__HIRC) /* Factory Default is internal 12MHz */ |
Functions | |
void | SystemInit (void) |
Setup the microcontroller system. 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 |
NUC472/NUC442 system clock definition file.
Definition in file system_NUC472_442.h.
#define __HIRC (22118400UL) |
High Speed Internal 22MHz RC Oscillator Frequency
Definition at line 27 of file system_NUC472_442.h.
#define __HSI (__HIRC) /* Factory Default is internal 12MHz */ |
Definition at line 29 of file system_NUC472_442.h.
#define __HXT (12000000UL) |
High Speed External Crystal Clock Frequency 12MHz
Definition at line 25 of file system_NUC472_442.h.
#define __LIRC (10000UL) |
Low Speed Internal 10kHz RC Oscillator Frequency
Definition at line 28 of file system_NUC472_442.h.
#define __LXT (32768UL) |
Low Speed External Crystal Clock Frequency 32.768kHz
Definition at line 26 of file system_NUC472_442.h.
void SystemCoreClockUpdate | ( | void | ) |
Updates the SystemCoreClock with current core Clock retrieved from CPU registers.
Update SystemCoreClock variable
Definition at line 26 of file system_NUC472_442.c.
void SystemInit | ( | void | ) |
Setup the microcontroller system.
Initialize the system
Setup the microcontroller system.
Initialize the system
Definition at line 56 of file system_NUC472_442.c.
|
extern |
Cycles per micro second
Definition at line 18 of file system_NUC472_442.c.
|
extern |
PLL Output Clock Frequency
|
extern |
System Clock Frequency (Core Clock)
System Clock Frequency (Core Clock)
Definition at line 17 of file system_NUC472_442.c.