MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
system_RW610.h
1
/*
2
** ###################################################################
3
** Processors: RW610ETA1I
4
** RW610HNA1I
5
** RW610UKA1I
6
**
7
** Compilers: GNU C Compiler
8
** IAR ANSI C/C++ Compiler for ARM
9
** Keil ARM C/C++ Compiler
10
** MCUXpresso Compiler
11
**
12
** Reference manual: RW61X User manual Rev. 0.95, June 2022
13
** Version: rev. 1.0, 2021-03-16
14
** Build: b221116
15
**
16
** Abstract:
17
** Provides a system configuration function and a global variable that
18
** contains the system frequency. It configures the device and initializes
19
** the oscillator (PLL) that is part of the microcontroller device.
20
**
21
** Copyright 2016 Freescale Semiconductor, Inc.
22
** Copyright 2016-2022 NXP
23
** All rights reserved.
24
**
25
** SPDX-License-Identifier: BSD-3-Clause
26
**
27
** http: www.nxp.com
28
** mail: support@nxp.com
29
**
30
** Revisions:
31
** - rev. 1.0 (2021-03-16)
32
** Initial version.
33
**
34
** ###################################################################
35
*/
36
47
#ifndef _SYSTEM_RW610_H_
48
#define _SYSTEM_RW610_H_
49
50
#ifdef __cplusplus
51
extern
"C"
{
52
#endif
53
54
#include <stdint.h>
55
56
#define CLK_XTAL_OSC_CLK_38400KHZ 38400000u
/* XTAL OSC frequency 38.4MHz */
57
#define CLK_XTAL_OSC_CLK_40000KHZ 40000000u
/* XTAL OSC frequency 40MHz */
58
59
#ifndef CLK_XTAL_OSC_CLK
60
#define CLK_XTAL_OSC_CLK \
61
(((AON_SOC_CIU->STRAP_RDBK & 0x20U) == 0U) ? CLK_XTAL_OSC_CLK_38400KHZ : CLK_XTAL_OSC_CLK_40000KHZ)
62
#endif
63
#define CLK_RTC_32K_CLK 32768u
/* RTC oscillator 32 kHz (32k_clk) */
64
#ifndef CLK_EXT_CLKIN
65
#define CLK_EXT_CLKIN 0u
/* Default external CLKIN pin clock */
66
#endif
67
#define DEFAULT_SYSTEM_CLOCK 260000000u
/* Default System clock value */
68
78
extern
uint32_t SystemCoreClock;
79
87
void
SystemInit(
void
);
88
96
void
SystemCoreClockUpdate(
void
);
97
108
void
SystemInitHook(
void
);
109
110
#ifdef __cplusplus
111
}
112
#endif
113
114
#endif
/* _SYSTEM_RW610_H_ */
platform
rw61x
system_RW610.h
Generated by
1.16.1