AT32F421
Series Reference Manual
2022.11.11
Page 247
Rev 2.02
TMRx_IDEN
0x0C
0x0000
TMRx_ISTS
0x10
0x0000
TMRx_SWEVT
0x14
0x0000
TMRx_CM1
0x18
0x0000
TMRx_CCTRL
0x20
0x0000
TMRx_CVAL
0x24
0x0000
TMRx_DIV
0x28
0x0000
TMRx_PR
0x2C
0x0000
TMRx_RPR
0x30
0x0000
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
0x0
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
0x0
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
0x0
resd
Kept at its default value.