| NUC472_NUC442_BSP V3.03.003 The Board Support Package for NUC472/NUC442

system_NUC472_442.h
Go to the documentation of this file.
1/**************************************************************************/
12#ifndef __SYSTEM_NUC472_442_H__
13#define __SYSTEM_NUC472_442_H__
14
15#ifdef __cplusplus
16 extern "C" {
17#endif
18
19#include <stdint.h>
20
21
22/*----------------------------------------------------------------------------
23 Define clocks
24 *----------------------------------------------------------------------------*/
25#define __HXT (12000000UL)
26#define __LXT (32768UL)
27#define __HIRC (22118400UL)
28#define __LIRC (10000UL)
29#define __HSI (__HIRC) /* Factory Default is internal 12MHz */
30
31
32 extern uint32_t SystemCoreClock;
33 extern uint32_t CyclesPerUs;
34 extern uint32_t PllClock;
44 extern void SystemInit (void);
45
54 extern void SystemCoreClockUpdate (void);
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* __SYSTEM_NUC472_442_H__ */
61/*** (C) COPYRIGHT 2013 Nuvoton Technology Corp. ***/
CyclesPerUs
uint32_t CyclesPerUs
Definition: system_NUC472_442.c:18
SystemInit
void SystemInit(void)
Setup the microcontroller system.
Definition: system_NUC472_442.c:56
PllClock
uint32_t PllClock
SystemCoreClock
uint32_t SystemCoreClock
Definition: system_NUC472_442.c:17
SystemCoreClockUpdate
void SystemCoreClockUpdate(void)
Updates the SystemCoreClock with current core Clock retrieved from CPU registers.
Definition: system_NUC472_442.c:26