![ARTERY AT32F435 Series Скачать руководство пользователя страница 277](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592277.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 277
Rev 2.03
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 to TMR5 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 to TMR5 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 to TMR5 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.2.4.19
TMR5 channel input remapping register (TMR2_RMP )
Bit
Register
Reset value
Type
Description
Bit 15: 12 Reserved
0x0
resd
Kept at its default value.
Bit 11: 10 TMR2_IS1_IRMP
0x0
rw
TMR2 IS1 input remap
00: TMR8_TRGO output
01: Ethernet PTP output
10: OTG1_FS_SOF
11: OTG2_FS_SOF
Bit 9 :0
Reserved
0x000
resd
Kept at its default value.
14.2.4.20
TMR2 channel input remapping register (TMR5_RMP )
Bit
Register
Reset value
Type
Description
Bit 15: 8
Reserved
0x00
resd
Kept at its default value.
Bit 7: 6
TMR5_CH4_IRMP
0x0
rw
TMR5 channel 4 input remap
00: TMR5 channel 4 input connected to GPIO