![Nuvoton NuMicro M0A21 Series Скачать руководство пользователя страница 369](http://html.mh-extra.com/html/nuvoton/numicro-m0a21-series/numicro-m0a21-series_technical-reference-manual_1720294369.webp)
M0A21/M0A23 Series
May 06, 2022
Page
369
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
PWM Control Register 1 (PWM_CTL1)
Register
Offset
R/W
Description
Reset Value
PWM_CTL1
0x04
R/W
PWM Control Register 1
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
OUTMODE4
OUTMODE2
OUTMODE0
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
CNTTYPE4
7
6
5
4
3
2
1
0
Reserved
CNTTYPE2
Reserved
CNTTYPE0
Bits
Description
[31:27]
Reserved
Reserved.
[26:24]
OUTMODEn
PWM Output Mode
Each bit n controls the output mode of corresponding PWM channel n.
0 = PWM independent mode.
1 = PWM complementary mode.
Note:
When operating in group function, these bits must all set to the same mode.
[23:10]
Reserved
Reserved.
[9:8]
CNTTYPE4
PWM Counter Behavior Type 4
The two bits control channel5 and channel4
00 = Up counter type (supported in capture mode).
01 = Down count type (supported in capture mode).
10 = Up-down counter type.
11 = Reserved.
[7:6]
Reserved
Reserved.
[5:4]
CNTTYPE2
PWM Counter Behavior Type 2
The two bits control channel3 and channel2
00 = Up counter type (supported in capture mode).
01 = Down count type (supported in capture mode).
10 = Up-down counter type.
11 = Reserved.
[3:2]
Reserved
Reserved.
[1:0]
CNTTYPE0
PWM Counter Behavior Type 0
The two bits control channel1 and channel0
00 = Up counter type (supported in capture mode).
01 = Down count type (supported in capture mode).
10 = Up-down counter type.