AT32F421
Series Reference Manual
2022.11.11
Page 227
Rev 2.02
14.4.4 TMR15 registers
These peripheral registers must be accessed by word (32 bits).
TMR15 registers are mapped into a 16-bit addressable space.
Table 14-10 TMR15 register map and reset value
Register name
Register
Reset value
TMR15_CTRL1
0x00
0x0000
TMR15_CTRL2
0x04
0x0000
TMR15_STCTRL
0x08
0x0000
TMR15_IDEN
0x0C
0x0000
TMR15_ISTS
0x10
0x0000
TMR15_SWEVT
0x14
0x0000
TMR15_CM1
0x18
0x0000
TMR15_CCTRL
0x20
0x0000
TMR15_CVAL
0x24
0x0000
TMR15_DIV
0x28
0x0000
TMR15_PR
0x2C
0x0000
TMR15_RPR
0x30
0x0000
TMR15_C1DT
0x34
0x0000
TMR15_C2DT
0x38
0x0000
TMR15_BRK
0x44
0x0000
TMR15_DMACTRL
0x48
0x0000
TMR15_DMADT
0x4C
0x0000
14.4.4.1 Control register1 (TMR15_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 divider
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: Enabled
1: Disabled