
GD32L23x User Manual
406
18.5.8.
Counter register (LPTIMER_CNT)
Address offset: 0x1C
Reset value: 0x0000
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
CNT[31:16]
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CNT[15:0]
r
Bits
Fields
Descriptions
31:0
CNT[31:0]
Counter value
Note:
When the LPTIMER is running with an asynchronous clock, reading the
LPTIMER_CNT register may return unreliable values. So it is necessary to perform
two consecutive read accessesand verify that the two returned values are identical.
18.5.9.
External input remap register (LPTIMER_EIRMP)
Address offset: 0x20
Reset value: 0x0000
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
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
IN1_RMP IN0_RMP
rw
rw
Bits
Fields
Descriptions
31:2
Reserved
Must be kept at reset value.
1
IN1_RMP
External input1 remap
0: External input is remaped to GPIO.
1: External input is remaped to CMP1_OUT.
0
IN0_RMP
External input0 remap
0: External input is remaped to GPIO.
1: External input is remaped to CMP0_OUT.