
Rev. 1.00
349 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
16 Motor Control T
imer (MCTM)
Channel 2 Output Configuration Register – CH2OCFR
This register specifies the channel 2 output mode configuration.
Offset:
0x048
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
CH2OM[3]
Type/Reset
RW 0
7
6
5
4
3
2
1
0
Reserved CH2IMAE CH2PRE
Reserved
CH2OM[2:0]
Type/Reset
RW 0 RW 0
RW 0 RW 0 RW 0
Bits
Field
Descriptions
[5]
CH2IMAE
Channel 2 Immediate Active Enable
0: No action
1: Single pulse Immediate Active Mode is enabled
The CH2OREF will be forced to the compare matched level immediately after
an available trigger event occurs irrespective of the result of the comparison
between the CNTR and the CH2CCR values.
The effective duration ends automatically at the next overflow or underflow
event.
Note: The CH2IMAE bit is available only if the channel 2 is configured to be operated
in PWM mode 1 or PWM mode 2.
[4]
CH2PRE
Channel 2 Capture/Compare Register (CH2CCR) Preload Enable
0: CH2CCR preload function is disabled.
The CH2CCR register can be immediately assigned a new value when
the CH2PRE bit is cleared to 0 and the updated CH2CCR value is used
immediately.
1: CH2CCR preload function is enabled
The new CH2CCR value will not be transferred to its shadow register until an
update event 1 occurs.