Chapter 25 FlexPWM
MPC5602P Microcontroller Reference Manual, Rev. 4
672
Freescale Semiconductor
25.6.4.2
Mask register (MASK)
The relationship between the fields of MASK and the submodules is as follows:
•
MASK
x
[3] enables/disables submodule 3
•
MASK
x
[2] enables/disables submodule 2
•
MASK
x
[1] enables/disables submodule 1
•
MASK
x
[0] enables/disables submodule 0
Table 25-13. OUTEN field descriptions
Field
Description
4:7
PWMA_EN[3:0]
PWMA Output Enables
These bits enable the PWMA outputs of each submodule.
0 PWMA output disabled.
1 PWMA output enabled.
8:11
PWMB_EN[3:0]
PWMB Output Enables
These bits enable the PWMB outputs of each submodule.
0 PWMB output disabled.
1 PWMB output enabled.
12:15
PWMX_EN[3:0]
PWMX Output Enables
These bits enable the PWMX outputs of each submodule. These bits should be set to 0 (output
disabled) when a PWMX pin is being used for deadtime correction.
0 PWMX output disabled.
1 PWMX output enabled.
Address: Base + 0x0142
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
MASKA[3:0]
MASKB[3:0]
MASKX[3:0]
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 25-22. Mask register (MASK)
Table 25-14. MASK field descriptions
Field
Description
4:7
MASKA[3:0]
PWMA Masks
These bits mask the PWMA outputs of each submodule forcing the output to logic 0 prior to
consideration of the output polarity.
0 PWMA output normal.
1 PWMA output masked.