
GD32L23x User Manual
395
18.5.
LPTIMER registers
LPTIMER base address: 0x4000 9400
18.5.1.
Interrupt flag register (LPTIMER_INTF)
Address offset: 0x00
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
IN1EIF
IN0EIF INRFOEIF INHLOEIF INHLCOIF
HLCMV
UPIF
Reserved
r
r
r
r
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
DOWNIF
UPIF
CARUPIF
CMPV
UPIF
ETED
EVIF
CARMIF
CMPV
MIF
r
r
r
r
r
r
r
Bits
Fields
Descriptions
31
IN1EIF
LPTIMER_IN1 error interrupt flag
This flag is set by hardware when the signal of LPTIMER_IN1 does not jump
between the two consecutive rising edges of LPTIMER_IN0. IN1EIF flag can be
cleared by writing 1 to the IN1EIC bit in the INTC register.
Note:
This flag just used in decoder mode 1.
30
IN0EIF
LPTIMER_IN0 error interrupt flag
This flag is set by hardware when the signal of LPTIMER_IN0 does not jump
between the two consecutive rising edges of LPTIMER_IN1. IN0EIF flag can be
cleared by writing 1 to the IN0EIC bit in the INTC register.
Note:
This flag just used in decoder mode 1.
29
INRFOEIF
The falling and rising edges of LPTIMER_IN0 and LPTIMER_IN1 overlap error
interrupt flag.
This flag is set by hardware when the falling edge of LPTIMER_IN0 and the rising
edge of LPTIMER_IN1 occur simultaneously or the falling edge of LPTIMER_IN1
and the rising edge of LPTIMER_IN0 occur simultaneously. INRFOEIF flag can be
cleared by writing 1 to the INRFOEIC bit in the INTC register.
Note:
This flag just used in decoder mode 1.
28
INHLOEIF
The high level of LPTIMER_IN0 and LPTIMER_IN1 overlap error interrupt flag.
This flag is set by hardware when the high level of LPTIMER_IN0 and
LPTIMER_IN1 overlap. INHLOEIF flag can be cleared by writing 1 to the INHLOEIC
bit in the INTC register.