AT32F421 Series Reference Manual
2022.11.11 Page 253 Rev 2.02
Output disabled (corresponding IO disconnected from
timer, and IO floating)
Asynchronously: CxOUT=CxP, Cx_EN=0,
CxCOUT=CxCP, CxCEN=0;
If the clock is present: after a dead-time,
CxOUT=CxIOS, CxCOUT=CxCIOS, assuming that
CxIOS and CxCIOS do not correspond to CxOUT and
CxCOUT active level.
CxEN=CxCEN=0: output disabled (corresponding IO
disconnected from timer, and IO floating)
In other cases, Off-state (corresponding channel
output inactive level)
Asynchronously: CxOUT =CxP, Cx_EN=1,
CxCOUT=CxCP, CxCEN=1;
If the clock is present: after a dead-time,
CxOUT=CxIOS, CxCOUT=CxCIOS, assuming that
CxIOS and CxCIOS do not correspond to CxOUT and
CxCOUT active level.
Note: If the two outputs of a channel are not used (CxEN = CxCEN = 0), CxIOS, CxCIOS, CxP and
CxCP must be cleared.
Note: The state of the external I/O pins connected to the complementary CxOUT and CxCOUT channels
depends on the CxOUT and CxCOUT channel state and the GPIO and the IOMUX registers.
14.5.4.8 TMR16 and TMR17 counter value (TMRx_CVAL)
14.5.4.9 TMR16 and TMR17 division value (TMRx_DIV)
Divider value
The counter clock frequency f
CK_CNT
= f
TMR_CLK
/ (DIV[15:
0]+1).
The value of this register is transferred to the actual
prescaler register when an overflow event occurs.
14.5.4.10 TMR16 and TMR17 period register (TMRx_PR)
Period value
This defines the period value of the TMRx counter. The
timer stops working when the period value is 0.
14.5.4.11 TMR16 and TMR17 repetition period register (TMRx_RPR)
Kept at its default value.
Repetition of period value
This field is used to reduce the generation rate of overflow
events. An overflow event is generated when the
repetition counter reaches 0.
14.5.4.12 TMR16 and TMR17 channel 1 data register (TMRx_C1DT)
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.