AT32F421
Series Reference Manual
2022.11.11
Page 230
Rev 2.02
14.4.4.5 TMR15 interrupt status register (TMR15_ISTS)
Bit
Register
Reset value
Type
Description
Bit 15: 11
Reserved
0x0
resd
Kept at its default value.
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
Reserved
0x0
resd
Kept at its default value.
Bit 7
BRKIF
0x0
rw0c
Brake interrupt flag
This bit is used to indicate whether the brake input level
is active or note. It is set by hardware and cleared by
writing 0.
0: Inactive
1: Active
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
HALLIF
0x0
rw0c
HALL interrupt flag
This bit is set by hardware and cleared by writing 0 at a
trigger event.
0: No HALL event occurred
1: HALL event occurred.
HALL event: CxEN, CxCEN and CxOCTRL have been
updated.
Bit 4:3
Reserved
0x0
resd
Kept at its default value.
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 TMR15_C1DT
0: No capture event occurred
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 occurred
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 occurred
1: Overflow event is generated. When OVFEN=0 and
OVFS=0 of TMR15_CTRL1 register:
-
Overflow event is generated when OVFG=1 of the
TMR15_SWEVE register