AT32F425
Series Reference Manual
2022.03.30
Page 210
Ver 2.01
14.2.4.11
TMR2 and TMR3 division value (TMRx_DIV)
Bit
Register
Reset value
Type
Description
Bit 15: 0
DIV
0x0000
rw
Divider value
The counter clock frequency f
CK_CNT
= f
TMR_CLK
/(DIV[15:
0]+1).
DIV contains the value written at an overflow event.
14.2.4.12
TMR2 and TMR3 period register (TMRx_PR)
Bit
Register
Reset value
Type
Description
Bit 31: 16
PR
0x0000
rw
Period value
When TMR2 or TMR5 enables plus mode (the PMEN bit
in the TMR_CTRL1 register), the PR is expanded to 32
bits.
Bit 15: 0
PR
0x0000
rw
Period value
This defines the period value of the TMRx counter. The
timer stops working when the period value is 0.
14.2.4.13
TMR2 and TMR3 channel 1 data register (TMRx_C1DT)
Bit
Register
Reset value
Type
Description
Bit 31: 16
C1DT
0x0000
rw
Channel 1 data register
When TMR2 or TMR5 enables plus mode (the PMEN bit
in the TMR_CTRL1 register), the C1DT is expanded to
32 bits.
Bit 15: 0
C1DT
0x0000
rw
Channel 1 data register
When the channel 1 is configured as input mode:
The C1DT is the CVAL value stored by the last channel
1 input event (C1IN)
When the channel 1 is configured as output mode:
C1DT is the value to be compared with the CVAL value.
Whether the written value takes effective immediately
depends on the C1OBEN bit, and the corresponding
output is generated on C1OUT as configured.
14.2.4.14
TMR2 and TMR3 channel 2 data register (TMRx_C2DT)
Bit
Register
Reset value
Type
Description
Bit 31: 16
C2DT
0x0000
rw
Channel 2 data register
When TMR2 or TMR5 enables plus mode (the PMEN bit
in the TMR_CTRL1 register), the C2DT is expanded to 32
bits.
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.2.4.15
TMR2 and TMR3 channel 3 data register (TMRx_C3DT)
Bit
Register
Reset value
Type
Description
Bit 31: 16 C3DT
0x0000
rw
Channel 3 data register
When TMR2 or TMR5 enables plus mode (the PMEN bit
in the TMR_CTRL1 register), the C3DT is expanded to 32
bits.
Bit 15: 0
C3DT
0x0000
rw
Channel 3 data register
When the channel 3 is configured as input mode:
The C3DT is the CVAL value stored by the last channel
3 input event (C1IN)
When the channel 3 is configured as output mode:
C3DT is the value to be compared with the CVAL value.