Datasheet

Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
MC9S12E128 Data Sheet, Rev. 1.07
Freescale Semiconductor 355
11.3.2.32 PMF Counter C Register (PMFCNTC)
Read anytime and writes have no effect.
11.3.2.33 PMF Counter Modulo C Register (PMFMODC)
Read anytime and write only if MTG is set.
Table 11-42. PWM Prescaler C
PRSCC PWM Clock Frequency
00 f
bus
01 f
bus
/2
10 f
bus
/4
11 f
bus
/8
Module Base + 0x0032
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R 0 PMFCNTC
W
Reset 0 0 0 0 0 0 0 0 0 0000000
= Unimplemented or Reserved
Figure 11-38. PMF Counter C Register (PMFCNTC)
Table 11-43. PMFCNTC Field Descriptions
Field Description
14–0
PMFCNTC‘
PMF Counter C — This register displays the state of the 15-bit PWM C counter.
Module Base + 0x0034
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R0
PMFMODC
W
Reset 0 0 0 0 0 0 0 0 0 0000000
= Unimplemented or Reserved
Figure 11-39. PMF Counter Modulo C Register (PMFMODC)
Table 11-44. PMFMODC Field Descriptions
Field Description
14–0
PMFMODC
PMF Couner Modulo C — The 15-bit unsigned value written to this register is the PWM period in PWM clock
periods. Do not write a modulus value of zero.
Note: The PWM counter modulo register is buffered. The value written does not take effect until the LDOKC bit
is set and the next PWM load cycle begins. Reading PMFMODC reads the value in the buffer. It is not
necessarily the value the PWM generator A is currently using.