![ARTERY AT32F435 Series Reference Manual Download Page 295](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592295.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 295
Rev 2.03
14.3.4.12
TMR9 and TMR12 channel 2 data register (TMRx_C2DT)
Bit
Register
Reset value
Type
Description
Bit 31: 16
C2DT
0x0000
resd
Kept at its default value.
Bit 15: 0
C2DT
0x0000
rw
Channel 2 data register
When the channel 2 is configured as input mode:
The C2DT is the CVAL value stored by the last channel
2 input event (C1IN)
When the channel 2 is configured as output mode:
C2DT is the value to be compared with the CVAL value.
Whether the written value takes effective immediately
depends on the C2OBEN bit, and the corresponding
output is generated on C2OUT as configured.
14.3.5 TMR10,TMR11, TMR13 and TMR14 registers
These peripheral registers must be accessed by word (32 bits).
All TMRx register are mapped into a 1-bit addressable space.
Table 14-10 TMRx register m ap and reset value
Register
Offset
Reset value
TMRx_CTRL1
0x00
0x0000
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_C1DT
0x34
0x0000
14.3.5.1 TMR10, TMR11, TMR13 and TMR14 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 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
Default value
Bit 3
OCMEN
0x0
rw
One cycle mode enable
This bit is use to select whether to stop counting at an
overflow 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