
M0A21/M0A23 Series
May 06, 2022
Page
380
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
PWM Generation Register 1 (PWM_WGCTL1)
Register
Offset
R/W
Description
Reset Value
PWM_WGCTL1
0xB4
R/W
PWM Generation Register 1
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
CMPDCTL5
CMPDCTL4
23
22
21
20
19
18
17
16
CMPDCTL3
CMPDCTL2
CMPDCTL1
CMPDCTL0
15
14
13
12
11
10
9
8
Reserved
CMPUCTL5
CMPUCTL4
7
6
5
4
3
2
1
0
CMPUCTL3
CMPUCTL2
CMPUCTL1
CMPUCTL0
Bits
Description
[31:28]
Reserved
Reserved.
[17+2n:16+2n]
n=0,1..5
CMPDCTLn
PWM Compare Down Point Control
00 = Do nothing.
01 = PWM compare down point output Low.
10 = PWM compare down point output High.
11 = PWM compare down point output Toggle.
Note 1:
PWM can control output level when PWM counter counts down to CMPDAT.
Note 2:
In complementary mode, CMPDCTL1, 3, 5 is used as another CMPDCTL for channel 0, 2,
4.
[15:12]
Reserved
Reserved.
[1+2n:2n]
n=0,1..5
CMPUCTLn
PWM Compare Up Point Control
00 = Do nothing.
01 = PWM compare up point output Low.
10 = PWM compare up point output High.
11 = PWM compare up point output Toggle.
Note 1:
PWM can control output level when PWM counter counts up to CMPDAT.
Note 2:
In complementary mode, CMPUCTL1, 3, 5 is used as another CMPUCTL for channel 0, 2,
4.