![GigaDevice Semiconductor GD32E23 Series User Manual Download Page 80](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794080.webp)
GD32E23x User Manual
80
state.
18
HXTALBPS
External crystal oscillator (HXTAL) clock bypass mode enable
The HXTALBPS bit can be written only if the HXTALEN is 0.
0: Disable the HXTAL Bypass mode
1: Enable the HXTAL Bypass mode in which the HXTAL output clock is equal to the
input clock.
17
HXTALSTB
External crystal oscillator (HXTAL) clock stabilization flag
Set by hardware to indicate if the HXTAL oscillator is stable and ready for use.
0: HXTAL oscillator is not stable
1: HXTAL oscillator is stable
16
HXTALEN
External high speed oscillator enable
Set and reset by software. This bit cannot be reset if the HXTAL clock is used as
the system clock or the PLL input clock. Reset by hardware when entering
Deep-sleep or Standby mode.
0: External 4 ~ 32 MHz crystal oscillator disabled
1: External 4 ~ 32 MHz crystal oscillator enabled
15:8
IRC8MCALIB[7:0]
Internal 8M RC oscillator calibration value register
These bits are load automatically at power on.
7:3
IRC8MADJ[4:0]
Internal 8M RC oscillator clock trim adjust value
These bits are set by software. The trimming value is there bits (IRC8MADJ) added
to the IRC8MCALIB[7:0] bits. The trimming value should trim the IRC8M to 8 MHz
± 1%.
2
Reserved
Must be kept at reset value.
1
IRC8MSTB
IRC8M high speed internal oscillator stabilization flag
Set by hardware to indicate if the IRC8M oscillator is stable and ready for use.
0: IRC8M oscillator is not stable
1: IRC8M oscillator is stable
0
IRC8MEN
Internal high speed oscillator enable
Set and reset by software. This bit cannot be reset if the IRC8M clock is used as
the system clock. Set by hardware when leaving Deep-sleep or Standby mode or
the HXTAL clock is stuck at a low or high state when HXTALCKM is set.
0: Internal 8 MHz RC oscillator disabled
1: Internal 8 MHz RC oscillator enabled
4.3.2.
Configuration register 0 (RCU_CFG0)
Address offset: 0x04
Reset value: 0x0000 0000
This register can be accessed by byte(8-bit), half-word(16-bit) and word(32-bit)