
AT32F413
Series Reference Manual
2022.06.27
Page 213
Rev 2.00
14.2.3.6 Debug mode
W
hen the microcontroller enters debug mode (Cortex
TM
-M4F core halted), the TMRx counter stops
counting by setting the TMRx_PAUSE in the DEBUG module.
14.2.4 TMR9 registers
These peripheral registers must be accessed by word (32 bits).
All TMRx register are mapped into a 16-bit addressable space.
Table 14-7
TMRx register map and reset value
Bit
Register
Reset value
TMR9_CTRL1
0x00
0x0000
TMR9_STCTRL
0x08
0x0000
TMR9_IDEN
0x0C
0x0000
TMR9_ISTS
0x10
0x0000
TMR9_SWEVT
0x14
0x0000
TMR9_CM1
0x18
0x0000
TMR9_CCTRL
0x20
0x0000
TMR9_CVAL
0x24
0x0000
TMR9_DIV
0x28
0x0000
TMR9_PR
0x2C
0x0000
TMR9_C1DT
0x34
0x0000 0000
TMR9_C2DT
0x38
0x0000 0000
14.2.4.1 Control register1 (TMR9_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 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