GD32W51x User Manual
1017
30.4.
Register definition
HPDF secure access base address: 0x5001 6000
HPDF non-secure access base address: 0x4001 6000
30.4.1.
HPDF channel x registers (x=0, 1)
Channel x control register (HPDF_CHxCTL)
Address offset: 0x00 + 0x20 * x, (x = 0, 1)
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
HPDFEN
CKOUTS
EL
CKOUTD
M
Reserved
CKOUTDIV[7:0]
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DPM[1:0]
CMSD[1:0]
Reserved
CHPINSE
L
CHEN
CKLEN MMEN Reserved
SPICKSS[1:0]
SITYP[1:0]
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31
HPDFEN
Global enable for HPDF interface
0: HPDF disabled
1: HPDF enabled
If HPDFEN=0, the HPDF_FLTySTAT register and HPDF_FLTy TMSTA T register is
set to reset state.
This bit is only available in HPDF_CH0CTL.
30
CKOUTSEL
Serial clock output source selection
0: Serial clock output source is from CK_HPDF clock
1: Serial clock output source is from CK_HPDFAUD IO clock
This bit can be configured only w hen HPDFEN=0.
This bit is only available in HPDF_CH0CTL.
29
CKOUTDM
Serial clock output duty mode
0: Serial clock output duty mode disable
1: Serial clock output duty mode enable, the duty is 1:1
This bit can be configured only w hen HPDFEN=0.
This bit is only available in HPDF_CH0CTL.
28:24
Reserved
Must be kept at reset value.
23:16
CKOUTDIV[7:0]
Serial clock output divider