English
Language : 

PXS20RM Datasheet, PDF (689/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Flexible Motor Control Pulse Width Modulator Module (FlexPWM)
NOTE
The VAL1 register is buffered. The value written does not take effect until
the LDOK bit is set and the next PWM load cycle begins or LDMOD is set.
VAL1 cannot be written when LDOK is set. Reading VAL1 reads the value
in a buffer and not necessarily the value the PWM generator is currently
using.
Since the VAL1 register is used to define the PWM period as well as turn off
the PWMX output, a 100% duty cycle cannot be achieved on the PWMX
output due to the inability to program VAL1 with a value grater than VAL1.
25.4.3.7 Value Register 2 (VAL2)
PWM_SUB_
BASE+$C
0
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15
Read
Write
VAL2
Reset
000000000000 0 000
Figure 25-41. Value Register 2 (VAL2)
The 16-bit signed value in this buffered, read/write register defines the count value to set PWM23 high
(Figure 25-2). This register is not byte accessible.
NOTE
The VAL2 register is buffered. The value written does not take effect until
the LDOK bit is set and the next PWM load cycle begins or LDMOD is set.
VAL2 cannot be written when LDOK is set. Reading VAL2 reads the value
in a buffer and not necessarily the value the PWM generator is currently
using.
25.4.3.8 Value Register 3 (VAL3)
PWM_SUB_
BASE+$E
0
1
2
3
4
5
6
7
8
9 10 11 12 13 14 15
Read
Write
VAL3
Reset
000000000000 0 000
Figure 25-42. Value Register 3 (VAL3)
The 16-bit signed value in this buffered, read/write register defines the count value to set PWM23 low
(Figure 25-2). This register is not byte accessible.
Freescale Semiconductor
PXS20 Microcontroller Reference Manual, Rev. 1
25-43