AT32F425
Series Reference Manual
2022.03.30
Page 266
Ver 2.01
11: Two-way counting mode3, count up and down
alternately, the output flag bit is set when the counter
counts up / down
Bit 4
OWCDIR
0x0
rw
One-way count direction
0: Up
;
1: Down
Bit 3
OCMEN
0x0
rw
One cycle mode enable
This bit is use to select whether to stop counting at an
update event
0: The counter does not stop at an update event
1: The counter stops at an update event
Bit 2
OVFS
0x0
rw
Overflow event source
This bit is used to select overflow event or DMA request
sources.
0: Counter overflow, setting the OVFSWTR bit or overflow
event generated by slave timer controller
1: Only counter overflow generates an overflow event
Bit 1
OVFEN
0x0
rw
Overflow event enable
0: Enabled
1: Disabled
Bit 0
TMREN
0x0
rw
TMR enable
0: Disabled
1: Enabled
14.6.4.2 TMR1 control register2 (TMR1_CTRL2)
Bit
Register
Reset value
Type
Description
Bit 31
TRGOUT2EN
0x0
rw
TRGOUT2 enable
0: TRGOUT2 disabled
1: TRGOUT2 enabled
Bit 30: 15 Reserved
0x0
resd
Kept at its default value.
Bit 14
C4IOS
0x0
rw
Channel 4 idle output state
Bit 13
C3CIOS
0x0
rw
Channel 3 complementary idle output state
Bit 12
C3IOS
0x0
rw
Channel 3 idle output state
Bit 11
C2CIOS
0x0
rw
Channel 2 complementary idle output state
Bit 10
C2IOS
0x0
rw
Channel 2 idle output state
Bit 9
C1CIOS
0x0
rw
Channel 1 complementary idle output state
OEN = 0 after dead-time:
0: C1OUTL=0
1: C1OUTL=1
Bit 8
C1IOS
0x0
rw
Channel 1 idle output state
OEN = 0 after dead-time:
0: C1OUT=0
1: C1OUT=1
Bit 7
C1INSEL
0x0
rw
C1IN selection
0: CH1 pin is connected to C1IRAW input
1: The XOR result of CH1, CH2 and CH3 pins is connected
to C1IRAW input
Bit 6: 4
PTOS
0x0
rw
Master TMR output selection
This field is used to select the TMRx signal sent to the
slave timer.
000: Reset
001: Enable
010: Update
011: Compare pulse
100: C1ORAW signal
101: C2ORAW signal
110: C3ORAW signal
111: C4ORAW signal
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