AT32F425
Series Reference Manual
2022.03.30
Page 246
Ver 2.01
TMRx_C1DT
0x34
0x0000
TMRx_BRK
0x44
0x0000
TMRx_DMACTRL
0x48
0x0000
TMRx_DMADT
0x4C
0x0000
14.5.4.1 TMR16 and TMR17 control register1 (TMRx_CTRL1)
Bit
Register
Reset value
Type
Description
Bit 15: 10 Reserved
0x00
resd
Kept at its default value.
Bit 9: 8
CLKDIV
0x0
rw
Clock division
00: Normal
01: Divided by 2
10: Divided by 4
11: Reserved
Bit 7
PRBEN
0x0
rw
Period buffer enable
0: Period buffer is disabled
1: Period buffer is enabled
Bit 6: 4
Reserved
0x0
resd
Kept at its default value.
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.5.4.2 TMR16 and TMR17 control register2 (TMRx_CTRL2)
Bit
Register
Reset value
Type
Description
Bit 30: 10 Reserved
0x0000
resd
Kept at its default value.
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: 4
Reserved
0x0000
resd
Kept at its default value.
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
that
have
complementaryoutput. If the channel contro 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.