GD32A50x User Manual
125
01: Select CK_HXTAL as the CK_SYS source
10: Select CK_PLL as the CK_SYS source
11: Reserved
1:0
SCS[1:0]
System clock switch
Set by software to select the CK_SYS source. Because the change of CK_SYS has
inherent latency, software should read SCSS to confirm whether the switching is
complete or not. The switch will be forced to IRC8M when leaving Deep-sleep and
Standby mode or by HXTAL clock monitor when the HXTAL failure is detected and
the HXTAL is selected as the clock source of CK_SYS or PLL.
00: Select CK_IRC8M as the CK_SYS source
01: Select CK_HXTAL as the CK_SYS source
10: Select CK_PLL as the CK_SYS source
11: Reserved
5.3.3.
Interrupt register (RCU_INT)
Address offset: 0x08
Reset value: 0x0000 0000
This register can be accessed by byte(8-bit), half-word(16-bit) and word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
CKMIC
PLLMIC
LCKMIC
PLL
STBIC
HXTAL
STBIC
IRC8M
STBIC
LXTAL
STBIC
IRC40K
STBIC
w
w
w
w
w
w
w
w
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved PLLMIE
LCKMIE
PLL
STBIE
HXTAL
STBIE
IRC8M
STBIE
LXTAL
STBIE
IRC40K
STBIE
CKMIF
PLLMIF
LCKMIF
PLL
STBIF
HXTAL
STBIF
IRC8M
STBIF
LXTAL
STBIF
IRC40K
STBIF
rw
rw
rw
rw
rw
rw
rw
r
r
r
r
r
r
r
r
Bits
Fields
Descriptions
31:24
Reserved
Must be kept at reset value
23
CKMIC
HXTAL clock stuck interrupt clear
Write 1 by software to reset the CKMIF flag.
0: Not reset CKMIF flag
1: Reset CKMIF flag
22
PLLMIC
PLL clock monitor interrupt clear
Write 1 by software to reset the PLLMIF flag.
0: Not reset PLLMIF flag
1: Reset PLLMIF flag
21
LCKMIC
LXTAL clock monitor interrupt clear
Write 1 by software to reset the LCKMIF flag.
0: Not reset LCKMIF flag