Z8 Encore!® Motor Control Flash MCUs
Product Specification
82
PWM Minimum Pulse Width Filter
The value in the PWM Minimum Pulse Width Filter (PWMMPF) Register, shown in Table
51, determines the minimum width pulse, either high or low, that can be generated by the
PWM module. The minimum pulse width period is calculated as:
PWMDB + PWMMPF
T
=
MINPULSEOUT
T
x PWMPrescale
SYSTEMCLOCK
A Value other than 00H must be written to the PWMMPF registor or the PWM output
waveform will be distorted!
Caution:
Table 51. PWM Minimum Pulse Width Filter (PWMMPF)
BITS
FIELD
RESET
R/W
7
6
5
4
3
2
1
0
PWMMPF[7:0]
00H
R/W
F23H
ADDR
Bit
Value
(H)
Description
Position
[7:0]
PWM Minimum Pulse Filter
Sets the minimum allowed output pulse width in PWM clock cycles.
PWMMPF
Note: This register can only be written when PWENis cleared.
PWM Fault Mask Register
The PWM Fault Mask (PWMFM) Register, shown in Table 52, enables individual fault
sources. PWM behaviour when an input is asserted is determined by the PWM Fault Con-
trol Register (PWMFCTL).
Table 52. PWM Fault Mask Register (PWMFM)
BITS
FIELD
RESET
R/W
7
6
5
4
3
2
1
0
Reserved
DBGMSK
Reserved
000
F1MASK C0MASK
FMASK
00
R
0
0
0
0
R/W
R
R/W
R/W
R/W
F24H
ADDR
Pulse-Width Modulator
P R E L I M I N A R Y
PS024604-1005