2 ** ###################################################################
\r
3 ** Processors: LPC55S69JBD100_cm33_core0
\r
4 ** LPC55S69JBD64_cm33_core0
\r
5 ** LPC55S69JEV98_cm33_core0
\r
7 ** Compilers: GNU C Compiler
\r
8 ** IAR ANSI C/C++ Compiler for ARM
\r
9 ** Keil ARM C/C++ Compiler
\r
10 ** MCUXpresso Compiler
\r
12 ** Reference manual: LPC55S6x/LPC55S2x/LPC552x User manual(UM11126) Rev.1.3 16 May 2019
\r
13 ** Version: rev. 1.1, 2019-05-16
\r
17 ** Provides a system configuration function and a global variable that
\r
18 ** contains the system frequency. It configures the device and initializes
\r
19 ** the oscillator (PLL) that is part of the microcontroller device.
\r
21 ** Copyright 2016 Freescale Semiconductor, Inc.
\r
22 ** Copyright 2016-2019 NXP
\r
23 ** All rights reserved.
\r
25 ** SPDX-License-Identifier: BSD-3-Clause
\r
27 ** http: www.nxp.com
\r
28 ** mail: support@nxp.com
\r
31 ** - rev. 1.0 (2018-08-22)
\r
32 ** Initial version based on v0.2UM
\r
33 ** - rev. 1.1 (2019-05-16)
\r
34 ** Initial A1 version based on v1.3UM
\r
36 ** ###################################################################
\r
40 * @file LPC55S69_cm33_core0
\r
43 * @brief Device specific configuration file for LPC55S69_cm33_core0 (header
\r
46 * Provides a system configuration function and a global variable that contains
\r
47 * the system frequency. It configures the device and initializes the oscillator
\r
48 * (PLL) that is part of the microcontroller device.
\r
51 #ifndef _SYSTEM_LPC55S69_cm33_core0_H_
\r
52 #define _SYSTEM_LPC55S69_cm33_core0_H_ /**< Symbol preventing repeated inclusion */
\r
60 #define DEFAULT_SYSTEM_CLOCK 12000000u /* Default System clock value */
\r
61 #define CLK_RTC_32K_CLK 32768u /* RTC oscillator 32 kHz output (32k_clk */
\r
62 #define CLK_FRO_12MHZ 12000000u /* FRO 12 MHz (fro_12m) */
\r
63 #define CLK_FRO_48MHZ 48000000u /* FRO 48 MHz (fro_48m) */
\r
64 #define CLK_FRO_96MHZ 96000000u /* FRO 96 MHz (fro_96m) */
\r
65 #define CLK_CLK_IN 16000000u /* Default CLK_IN pin clock */
\r
68 * @brief System clock frequency (core clock)
\r
70 * The system clock frequency supplied to the SysTick timer and the processor
\r
71 * core clock. This variable can be used by the user application to setup the
\r
72 * SysTick timer or configure other parameters. It may also be used by debugger to
\r
73 * query the frequency of the debug timer or configure the trace clock speed
\r
74 * SystemCoreClock is initialized with a correct predefined value.
\r
76 extern uint32_t SystemCoreClock;
\r
79 * @brief Setup the microcontroller system.
\r
81 * Typically this function configures the oscillator (PLL) that is part of the
\r
82 * microcontroller device. For systems with variable clock speed it also updates
\r
83 * the variable SystemCoreClock. SystemInit is called from startup_device file.
\r
85 void SystemInit(void);
\r
88 * @brief Updates the SystemCoreClock variable.
\r
90 * It must be called whenever the core clock is changed during program
\r
91 * execution. SystemCoreClockUpdate() evaluates the clock register settings and calculates
\r
92 * the current core clock.
\r
94 void SystemCoreClockUpdate(void);
\r
97 * @brief SystemInit function hook.
\r
99 * This weak function allows to call specific initialization code during the
\r
100 * SystemInit() execution.This can be used when an application specific code needs
\r
101 * to be called as close to the reset entry as possible (for example the Multicore
\r
102 * Manager MCMGR_EarlyInit() function call).
\r
103 * NOTE: No global r/w variables can be used in this hook function because the
\r
104 * initialization of these variables happens after this function.
\r
106 void SystemInitHook(void);
\r
112 #endif /* _SYSTEM_LPC55S69_cm33_core0_H_ */
\r