AT32F421
Series Reference Manual
2022.11.11
Page 196
Rev 2.02
Bit 2
C2IEN
0x0
rw
Channel 2 interrupt enable
0: Disabled
1: Enabled
Bit 1
C1IEN
0x0
rw
Channel 1 interrupt enable
0: Disabled
1: Enabled
Bit 0
OVFIEN
0x0
rw
Overflow interrupt enable
0: Disabled
1: Enabled
14.2.4.5 Interrupt status register (TMR3_ISTS)
Bit
Register
Reset value
Type
Description
Bit 15: 13
Reserved
0x0
resd
Kept at its default value
Bit 12
C4RF
0x0
rw0c
Channel 4 recapture flag
Please refer to C1RF description.
Bit 11
C3RF
0x0
rw0c
Channel 3 recapture flag
Please refer to C1RF description.
Bit 10
C2RF
0x0
rw0c
Channel 2 recapture flag
Please refer to C1RF description.
Bit 9
C1RF
0x0
rw0c
Channel 1 recapture flag
This bit indicates whether a recapture is detected when
C1IF=1. This bit is set by hardware, and cleared by
writing “0”.
0: No capture is detected
1: Capture is detected.
Bit 8: 7
Reserved
0x0
resd
Kept at its default value
Bit 6
TRGIF
0x0
rw0c
Trigger interrupt flag
This bit is set by hardware on a trigger event. It is cleared
by writing “0”.
0: No trigger event occurs
1: Trigger event is generated.
Trigger event: an active edge is detected on TRGIN
input, or any edge in suspend mode.
Bit 5
Reserved
0x0
resd
Kept at its default value
Bit 4
C4IF
0x0
rw0c
Channel 4 interrupt flag
Please refer to C1IF description.
Bit 3
C3IF
0x0
rw0c
Channel 3 interrupt flag
Please refer to C1IF description.
Bit 2
C2IF
0x0
rw0c
Channel 2 interrupt flag
Please refer to C1IF description.
Bit 1
C1IF
0x0
rw0c
Channel 1 interrupt flag
If the channel 1 is configured as input mode:
This bit is set by hardware on a capture event. It is
cleared by software or read access to the TMRx_C1DT
0: No capture event occurs
1: Capture event is generated
If the channel 1 is configured as output mode:
This bit is set by hardware on a compare event. It is
cleared by software.
0: No compare event occurs
1: Compare event is generated
Bit 0
OVFIF
0x0
rw0c
Overflow interrupt flag
This bit is set by hardware on an overflow event. It is
cleared by software.
0: No overflow event occurs
1: Overflow event is generated. If OVFEN=0 and
OVFS=0 in the TMRx_CTRL1 register:
− An overflow event is generated when OVFG= 1 in the
TMRx_SWEVE register;
− An overflow event is generated when the counter
CVAL is reinitialized by a trigger event.