![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 665](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898665.webp)
Chapter 25 FlexPWM
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
665
25.6.3.10 Value register 5 (VAL5)
The 16-bit signed value in this register defines the count value to set PWMB low (
register is not byte accessible.
NOTE
The VAL5 register is buffered. The value written does not take effect until
the LDOK bit is set and the next PWM load cycle begins. VAL5 cannot be
written when LDOK is set. Reading VAL5 reads the value in a buffer and
not necessarily the value the PWM generator is currently using.
25.6.3.11 Output Control register (OCTRL)
Address: Base + 0x0012 (Submodule 0)
Base + 0x0062 (Submodule 1)
Base + 0x00B2 (Submodule 2)
Base + 0x0102 (Submodule 3)
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
VAL5
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 25-12. Value register 5 (VAL5)
Address: Base + 0x0018 (Submodule 0)
Base + 0x0068 (Submodule 1)
Base + 0x00B8 (Submodule 2)
Base + 0x0108 (Submodule 3)
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R PWM
A_IN
PWM
B_IN
PWM
X_IN
0
0
POL
A
POL
B
POL
X
0
0
PWMAFS
PWMBFS
PWMXFS
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 25-13. Output Control register (OCTRL)
Table 25-7. OCTRL field descriptions
Field
Description
0
PWMA_IN
PWMA Input
This read only bit shows the logic value currently being driven into the PWMA input.
1
PWMB_IN
PWMB Input
This read only bit shows the logic value currently being driven into the PWMB input.
2
PWMX_IN
PWMX Input
This read only bit shows the logic value currently being driven into the PWMX input.
5
POLA
PWMA Output Polarity
This bit inverts the PWMA output polarity.
0 PWMA output not inverted. A high level on the PWMA pin represents the “on” or “active” state.
1 PWMA output inverted. A low level on the PWMA pin represents the “on” or “active” state.