
Rev. 1.00
348 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
15 Motor Control T
imer (MCTM)
Channel Polarity Configuration Register – CHPOLR
This register contains the channel capture input or compare output polarity control.
Offset:
0x054
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
Reserved
Type/Reset
7
6
5
4
3
2
1
0
Reserved
CH3P
CH2NP
CH2P
CH1NP
CH1P
CH0NP
CH0P
Type/Reset
RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[6]
CH3P
Channel 3 Capture/Compare Polarity
- When Channel 3 is configured as an input (CH3CCS = 0x1/0x2/0x3)
0: Capture event occurs on a Channel 3 rising edge
1: Capture event occurs on a Channel 3 falling edge
- When Channel 3 is configured as an output (CH3CCS = 0x0)
0: Channel 3 Output is active high
1: Channel 3 Output is active low
[5]
CH2NP
Channel 2 Capture/Compare Complementary Polarity
0: Channel 2 Output is active high
1: Channel 2 Output is active low
[4]
CH2P
Channel 2 Capture/Compare Polarity
- When Channel 2 is configured as an input (CH2CCS = 0x1/0x2/0x3)
0: Capture event occurs on a Channel 2 rising edge
1: Capture event occurs on a Channel 2 falling edge
- When Channel 2 is configured as an output (CH2CCS = 0x0)
0: Channel 2 Output is active high
1: Channel 2 Output is active low
[3]
CH1NP
Channel 1 Capture/Compare Complementary Polarity
0: Channel 1 Output is active high
1: Channel 1 Output is active low
[2]
CH1P
Channel 1 Capture/Compare Polarity
- When Channel 1 is configured as an input (CH1CCS = 0x1/0x2/0x3)
0: Capture event occurs on a Channel 1 rising edge
1: Capture event occurs on a Channel 1 falling edge
- Channel 1 is configured as an output (CH1CCS = 0x0)
0: Channel 1 Output is active high
1: Channel 1 Output is active low
[1]
CH0NP
Channel 0 Capture/Compare Complementary Polarity
0: Channel 0 Output is active high
1: Channel 0 Output is active low