AT32F425
Series Reference Manual
2022.03.30
Page 211
Ver 2.01
Whether the written value takes effective immediately
depends on the C3OBEN bit, and the corresponding
output is generated on C3OUT as configured.
14.2.4.16
TMR2 and TMR3 channel 4 data register (TMRx_C4DT)
Bit
Register
Reset value
Type
Description
Bit 31: 16 C4DT
0x0000
rw
Channel 4 data register
When TMR2 or TMR5 enables plus mode (the PMEN bit
in the TMR_CTRL1 register), the C4DT is expanded to 32
bits.
Bit 15: 0
C4DT
0x0000
rw
Channel 4 data register
When the channel 4 is configured as input mode:
The C4DT is the CVAL value stored by the last channel
4 input event (C1IN)
When the channel 4 is configured as output mode:
C4DT is the value to be compared with the CVAL value.
Whether the written value takes effective immediately
depends on the C4OBEN bit, and the corresponding
output is generated on C4OUT as configured.
14.2.4.17
TMR2 and TMR3 DMA control register (TMRx_DMACTRL)
Bit
Register
Reset value
Type
Description
Bit 15: 13 Reserved
0x0
resd
Kept at its default value.
Bit 12: 8
DTB
0x00
rw
DMA transfer bytes
This field defines the number of DMA transfers:
00000: 1 byte 00001: 2 bytes
00010: 3 bytes 00011: 4 bytes
...... ......
10000: 17 bytes 10001: 18 bytes
Bit 7: 5
Reserved
0x0
resd
Kept at its default value.
Bit 4: 0
ADDR
0x00
rw
DMA transfer address offset
ADDR is defined as an offset starting from the address of
the TMRx_CTRL1 register.
00000: TMRx_CTRL1
,
00001: TMRx_CTRL2
,
00010: TMRx_STCTRL
,
......
14.2.4.18
TMR2 and TMR3 DMA data register (TMRx_DMADT)
Bit
Register
Reset value
Type
Description
Bit 15: 0
DMADT
0x0000
rw
DMA data register
A
read or write operation to the DMADT register accesses
the TMR registers at the following address:
TMRx peripheral address + ADDR*4 to TMRx peripheral
a ADDR*4 + DTB*4.
14.3
General-purpose timer (TMR9 to TMR14)
14.3.1 TMR13 and TMR14 introduction
The general-purpose timer (TMR13 and TMR14) consists of a 16-bit counter supporting upcounting
mode. These timers can be synchronized.
14.3.2 TMR13 and TMR14 main features
The main functions of general-purpose TMR13 and TMR14 include:
Souce of counter clock: internal clock
16-bit up counter
1x independent channels for input capture, output compare, PWM generation
Synchronization control between master and slave timers
Interrrupt is generated at overflow and channel events