
GD32L23x User Manual
396
Note:
This flag just used in decoder mode 1.
27
INHLCOIF
LPTIMER_INx(x=0,1) high level counter overflow interrupt flag
This flag is set by hardware when LPTIMER_INx high level counter equal to external
input high level counter max value register (LPTIMER_INHLCMV). INHLCOIF flag
can be cleared by writing 1 to the INHLCOIC bit in the INTC register.
26
HLCMVUPIF
Input high level counter max value register update interrupt flag
This flag is set by hardware when the APB bus write operation to the
LPTIMER_INHLCMV register has been successfully completed. HLCMVUPIF flag
can be cleared by writing 1 to the HLCMVUPIC bit in the INTC register.
25:7
Reserved
Must be kept at reset value.
6
DOWNIF
LPTIMER counter direction change up to down interrupt flag
In decoder mode, the DOWNIF bit is set by hardware when the counter direction
moves from up to down. The DOWNIF flag can be cleared by writing 1 to the
DOWNIC bit of the INTC register.
5
UPIF
LPTIMER counter direction change down to up interrupt flag
In decoder mode, the UPIF bit is set by hardware when the counter direction
moves from down to up. UPIF flag can be cleared by writing 1 to the UPIC bit in
the INTC register.
4
CARUPIF
Counter auto reload register update interrupt flag
This flag is set by hardware when the APB bus write operation to the
LPTIMER_CAR register has been successfully completed. CARUPIF flag can be
cleared by writing 1 to the CARUPIC bit in the INTC register.
3
CMPVUPIF
Compare value register update interrupt flag
This flag is set by hardware when the APB bus write operation to the
LPTIMER_CMPV register has been successfully completed. CMPVUPIF flag can
be cleared by writing 1 to the CMPVUPIC bit in the INTC register.
2
ETEDEVIF
External trigger edge event interrupt flag
This flag is set by hardware when the active edge of the external trigger occurs.
ETEDEVIF flag can be cleared by writing 1 to the ETEDEVIC bit in the INTC register.
Note:
This flag will not be set when the active edge of the external trigger happened
after LPTIMER started.
1
CARMIF
Counter auto reload register match interrupt flag
This flag is set by hardware when the LPTIMER_CNT value matches the value of
the LPTIMER_CAR register. CARMIF flag can be cleared by writing 1 to the
CARMIC bit in the INTC register.
0
CMPVMIF
Compare value register match interrupt flag
This flag is set by hardware when the LPTIMER_CNT value matches the value of
the LPTIMER_CMPV register. CMPVMIF flag can be cleared by writing 1 to the