AT32F421
Series Reference Manual
2022.11.11
Page 248
Rev 2.02
Bit 3
DRS
0x0
rw
DMA request source
0: Capture/compare event
1: Overflow event
Bit 2
CCFS
0x0
rw
Channel control bit flash selection
This bit only acts on channels with complementary
output. If the channel control bits are buffered:
0: Control bits are updated by setting the HALL bit
1: Control bits are updated by setting the HALL bit or a
rising edge on TRGIN.
Bit 1
Reserved
0x0
resd
Kept at its default value.
Bit 0
CBCTRL
0x0
rw
Channel buffer control
This bit acts on channels that have complementary
output.
0: CxEN, CxCEN and CxOCTRL bits are not buffered.
1: CxEN, CxCEN and CxOCTRL bits are not buffered.
14.5.4.3 TMR16 and TMR17 DMA/interrupt enable register
(TMRx_IDEN)
Bit
Register
Reset value
Type
Description
Bit 15: 10
Reserved
0x0
resd
Kept at its default value.
Bit 9
C1DEN
0x0
rw
Channel 1 DMA request enable
0: Disabled
1: Enabled
Bit 8
OVFDEN
0x0
rw
Overflow event DMA request enable
0: Disabled
1: Enabled
Bit 7
BRKIE
0x0
rw
Brake interrupt enable
0: Disabled
1: Enabled
Bit 6
Reserved
0x0
resd
Kept at its default value.
Bit 5
HALLIEN
0x0
rw
HALL interrupt enable
0: Disabled
1: Enabled
Bit 4: 2
Reserved
0x0
resd
Kept at its default value.
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.5.4.4 TMR16 and TMR17 interrupt status register (TMRx_ISTS)
Bit
Register
Reset value
Type
Description
Bit 15: 10
Reserved
0x0
resd
Kept at its default value.
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
Default value
Bit 7
BRKIF
0x0
rw0c
Brake interrupt flag
This bit indicates whether the brake input is active or not.
It is set by hardware and cleared by writing “0”
0: Inactive level
1: Active level
Bit 6
Reserved
0x0
resd
Kept at its default value.
Bit 5
HALLIF
0x0
rw0c
HALL interrupt flag
This bit is set by hardware on HALL event. It is cleared
by writing “0”.
0: No Hall event occurs.
1: Hall event is detected.