AT32F421
Series Reference Manual
2022.11.11
Page 234
Rev 2.02
14.4.4.8 TMR15 channel control register (TMR15_CCTRL)
Bit
Register
Reset value
Type
Description
Bit 15: 8
Reserved
0x0
resd
Kept at its default value.
Bit 7
C2CP
0x0
rw
Channel 2 complementary polarity
This bit defines the active edge for input signals. Refer
to C1P description.
Bit 6
Reserved
0x0
resd
Kept at its default value.
Bit 5
C2P
0x0
rw
Channel 2 polarity
Please refer to C1P description.
Bit 4
C2EN
0x0
rw
Channel 2 enable
Please refer to C1EN description.
Bit 3
C1CP
0x0
rw
Channel 1 complementary polarity
This bit defines the active edge for input signals. Refer
to C1P description.
Bit 2
C1CEN
0x0
rw
Channel 1 complementary enable
0: Channel 1 complementary output disabled
1: Channel 1 complementary output enabled
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:
C1CP works with C1P bit to define the active edge for
input signals.
00: C1IN is active on its rising edge. When used as
external trigger, C1IN is not inverted.
01: C1IN is active edge on its falling edge. When used
as external trigger, C1IN is inverted.
10: Reserved.
11: C1IN are active on rising and falling edges. When
used as external trigger, C1IN is not inverted.
Bit0
C1EN
0x0
rw
Channel 1 enable
0: Input or output is disabled
1: Input or output is enabled