GD32W51x User Manual
916
26.4.
Registers definition
TSI secure access base address: 0x5002 4000
TSI non-secure access base address: 0x4002 4000
26.4.1.
Control register0 (TSI_CTL0)
Address offset: 0x00
Reset value: 0x0000 0000
This register can be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
CDT[3:0]
CTDT[3:0]
ECDT[6:0]
ECEN
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ECDIV[0]
CTCDIV[2:0]
Reserved
MCN[2:0]
PINMOD EGSEL TRGMOD
TSIS
TSIEN
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:28
CDT[3:0]
Charge State Duration Time
CDT[3:0] is set and clear by softw are. These bits controls the duration time of
Charge State in a charge-transfer sequence.
0000:
1 ×
t
CTCLK
0001:
2 ×
t
CTCLK
0010:
3 ×
t
CTCLK
….
1111:
16 ×
t
CTCLK
27:24
CTDT[3:0]
Charge Transfer State Duration Time
CTDT[3:0] is set and clear by softw are. These bits control the duration time of
Charge Transfer State in a charge-transfer sequence.
0000:
1 ×
t
CTCLK
0001:
2 ×
t
CTCLK
0010:
3 ×
t
CTCLK
….
1111:
16 ×
t
CTCLK
23:17
ECDT[6:0]
Extend Charge State Maximum Duration Time
ECDT[6:0] is set and clear by softw are. These bits control the maximum duration
time of Extend Charge Transfer State in a charge-transfer sequence. Extend Charge
State is only present w hen ECEN bit in TSI_CTL0 register is set.
0000000:
1 ×
t
ECCLK
0000001:
2 ×
t
ECCLK
0000010:
3 ×
t
ECCLK