
GD32L23x User Manual
405
This bit is set and reset by software.
0: LPTIMER is disabled
1: LPTIMER is enabled
18.5.6.
Compare value register (LPTIMER_CMPV)
Address offset: 0x14
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
CMPVAL[31:16]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CMPVAL[15:0]
rw
Bits
Fields
Descriptions
31:0
CMPVAL[31:0]
Compare value
This bit-filed specifies the compare value of the counter.
This bit can be modified only when the LPTIMER is enabled (The LPTEN bit in
LPTIMER_CTL1 register is 1).
18.5.7.
Counter auto reload register (LPTIMER_CAR)
Address offset: 0x18
Reset value: 0x0001
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
CARL[31:16]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CARL[15:0]
rw
Bits
Fields
Descriptions
31:0
CARL[31:0]
Counter auto reload value
This bit-filed specifies the auto reload value of the counter.
This bit can be modified only when the LPTIMER is enabled (The LPTEN bit in
LPTIMER_CTL1 register is 1).