AT32F425
Series Reference Manual
2022.03.30
Page 276
Ver 2.01
14.6.4.16
TMR1 channel 3 data register (TMR1_C3DT)
Bit
Register
Reset value
Type
Description
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.
Whether the written value takes effective immediately
depends on the C3OBEN bit, and the corresponding
output is generated on C3OUT as configured.
14.6.4.17
TMR1 channel 4 data register (TMRx_C4DT)
Bit
Register
Reset value
Type
Description
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 3 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.6.4.18
TMR1 break register (TMR1_BRK)
Bit
Register
Reset value
Type
Description
Bit 31: 17
Reserved
0x0
resd
Kept at its default value.
Bit 19: 16
BKF
0x0
rw
Brake input filter
This field is used to set the filter for break input. The filter
number N indicates that the input edge can pass through
filter only after N sampling events.
0000: f_SAMPLING=f_DTS (no filter)
1000: f_SAMPLING=f_DTS/8, N=6
0001: f_SAMPLING=f_(CK_INT), N=2
1001: f_SAMPLING=f_DTS/8, N=8
0010: f_SAMPLING=f_(CK_INT), N=4
1010: f_SAMPLING=f_DTS/16, N=5
0011: f_SAMPLING=f_(CK_INT), N=8
1011: f_SAMPLING=f_DTS/16, N=6
0100: f_SAMPLING=f_DTS/2, N=6
1100: f_SAMPLING=f_DTS/16, N=8
0101: f_SAMPLING=f_DTS/2, N=8
1101: f_SAMPLING=f_DTS/32, N=5
0110: f_SMPLING=f_DTS/4, N=6
1110: f_SAMPLING=f_DTS/32, N=6
0111: f_SAMPLING=f_DTS/4, N=8
1111: f_SAMPLING=f_DTS/32, N=8
Bit 15
OEN
0x0
rw
Output enable
This bit acts on the channels as output. It is used to enable
CxOUT and CxCOUT outputs.
0: Disabled
1: Enabled
Bit 14
AOEN
0x0
rw
Automatic output enable
OEN is set automatically at an overflow event.
0: Disabled
1: Enabled
Bit 13
BRKV
0x0
rw
Break input validity
This bit is used to select the active level of a break input.
0: Break input is active low.
1 Break input is active high.
Bit 12
BRKEN
0x0
rw
Break enable
This bit is used to enable break input.