ML51/ML54/ML56
Sep. 01, 2020
Page
450
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
Mask Output Control
6.8.4.6
Each PWM signal can be software masked by driving a specified level of PWM signal. The PWM
mask output function is quite useful when controlling Electrical Commutation Motor like a BLDC.
PWMnMEN contains six bits, those determine which channel of PWM signal will be masked.
PWMnMD set the individual mask level of each PWM channel. The default value of PWMnMEN is
00H, which makes all outputs of PWM channels follow signals from PWM generator. Note that the
masked level is reversed or not by PWM0NP setting on PWM output pins.