GD32F10x User Manual
86
5.3.
Register definition
RCU base address: 0x4002 1000
5.3.1.
Control register (RCU_CTL)
Address offset: 0x00
Reset value: 0x0000 xx83 where x is undefined.
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
PLLSTB
PLLEN
Reserved
CKMEN
HXTALB
PS
HXTALST
B
HXTALE
N
r
rw
rw
rw
r
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
IRC8MCALIB[7:0]
IRC8MADJ[4:0]
Reserved
IRC8MST
B
IRC8MEN
r
rw
r
rw
Bits
Fields
Descriptions
31:26
Reserved
Must be kept at reset value.
25
PLLSTB
PLL clock stabilization flag
Set by hardware to indicate if the PLL output clock is stable and ready for use.
0: PLL is not stable
1: PLL is stable
24
PLLEN
PLL enable
Set and reset by software. This bit cannot be reset if the PLL clock is used as the
system clock. Reset by hardware when entering Deep-sleep or Standby mode.
0: PLL is switched off
1: PLL is switched on
23:20
Reserved
Must be kept at reset value.
19
CKMEN
HXTAL clock monitor enable
0: Disable the High speed 4 ~ 16 MHz crystal oscillator (HXTAL) clock monitor
1: Enable the High speed 4 ~ 16 MHz crystal oscillator (HXTAL) clock monitor
When the hardware detects that the HXTAL clock is stuck at a low or high state,
the internal hardware will switch the system clock to be the internal high speed
IRC8M RC clock. The way to recover the original system clock is by either an
external reset, power on reset or clearing CKMIF by software.
Note:
When the HXTAL clock monitor is enabled, the hardware will automatically
enable the IRC8M internal RC oscillator regardless of the control bit, IRC8MEN,
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...