Datasheet

Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
MC9S12E128 Data Sheet, Rev. 1.07
342 Freescale Semiconductor
11.3.2.14 PMF Value 0 Register (PMFVAL0)
Read and write anytime.
11.3.2.15 PMF Value 1 Register (PMFVAL1)
Read and write anytime.
Module Base + 0x0010
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R
PMFVAL0
W
Reset 0 0 0 0 0 0 0 0 0 0000000
Figure 11-20. PMF Value 0 Register (PMFVAL0)
Table 11-19. PMFVAL0 Field Descriptions
Field Description
16–0
PMFVAL0
PMF Value 0 Bits — The 16-bit signed value in this buffered register is the pulse width in PWM0 clock period.
A value less than or equal to zero deactivates the PWM output for the entire PWM period. A value greater than,
or equal to the modulus, activates the PWM output for the entire PWM period. See Table 11-46. The terms
activate and deactivate refer to the high and low logic states of the PWM output.
Note: PMFVAL0 is buffered. The value written does not take effect until the LDOK bit is set and the next PWM
load cycle begins Reading PMFVAL0 reads the value in the buffer and not necessarily the value the PWM
generator is currently using.
Module Base + 0x0012
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R
PMFVAL1
W
Reset 0 0 0 0 0 0 0 0 0 0000000
Figure 11-21. PMF Value 1 Register (PMFVAL1)
Table 11-20. PMFVAL1 Field Descriptions
Field Description
16–0
PMFVAL1
PMF Value 1 Bits — The 16-bit signed value in this buffered register is the pulse width in PWM1 clock period.
A value less than or equal to zero deactivates the PWM output for the entire PWM period. A value greater than,
or equal to the modulus, activates the PWM output for the entire PWM period. See Table 11-46. The terms
activate and deactivate refer to the high and low logic states of the PWM output.
Note: PMFVAL1 is buffered. The value written does not take effect until the LDOK bit is set and the next PWM
load cycle begins. Reading PMFVAL1 reads the value in the buffer and not necessarily the value the PWM
generator is currently using.