AT32F425
Series Reference Manual
2022.03.30
Page 219
Ver 2.01
00: No divider. An input capture is generated at each
active edge.
01: An input compare is generated every 2 active edges
10: An input compare is generated every 4 active edges
11: An input compare is generated every 8 active edges
Note: the divider is reset once
C1EN=’0’
Bit 1: 0
C1C
0x0
rw
Channel 1 configuration
This field is used to define the direction of the channel 1
(input or output), and the selection of input pin when
C1
EN=’0’:
00: Output
01: Input, C1IN is mapped on C1IRAW
10: Input, C1IN is mapped on C2IRAW
11: Input, C1IN is mapped on STCI. This mode works only
when the internal trigger input is selected by STIS.
14.3.4.6 TMR13 and TMR14 channel control register (TMRx_CCTRL)
Bit
Register
Reset value
Type
Description
Bit 15: 2
Reserved
0x0
resd
Kept at its default value.
Bit 1
C1P
0x0
rw
Channel 1 polarity
When the channel 1 is configured as output mode:
0: C1OUT is active high
1: C1OUT is active low
When the channel 1 is configured as input mode:
0: C1IN active edge is on its rising edge. When used as
external trigger, C1IN is not inverted.
1: C1IN active edge is on its falling edge. When used as
external trigger, C1IN is inverted.
Bit0
C1EN
0x0
rw
Channel 1 enable
0: Input or output is disabled
1: Input or output is enabled
Table 14-8 Standard CxOUT channel output control bit
CxEN bit
CxOUT output state
0
Output disabled (CxOUT=0)
1
CxOUT = polarity
Note: The state of the external I/O pins connected to the standard CxOUT channel depends on the
CxOUT channel state and the GPIO and IOMUX registers.
14.3.4.7 TMR13 and TMR14 counter value (TMRx_CVAL)
Bit
Register
Reset value
Type
Description
Bit 15: 0
CVAL
0x0000
rw
Counter value
14.3.4.8 TMR13 and TMR14 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.3.4.9 TMR13 and TMR14 period register (TMRx_PR)
Bit
Register
Reset value
Type
Description
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.