Datasheet

Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
MC9S12E128 Data Sheet, Rev. 1.07
Freescale Semiconductor 347
11.3.2.22 PMF Counter A Register (PMFCNTA)
Read anytime and writes have no effect.
11.3.2.23 PMF Counter Modulo A Register (PMFMODA)
Read and write anytime.
Table 11-28. PWM Prescaler A
PRSCA PWM Clock Frequency
00 f
bus
01 f
bus
/2
10 f
bus
/4
11 f
bus
/8
Module Base + 0x0022
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R 0 PMFCNTA
W
Reset 0 0 0 0 0 0 0 0 0 0000000
= Unimplemented or Reserved
Figure 11-28. PMF Counter A Register (PMFCNTA)
Table 11-29. PMFCNTA Field Descriptions
Field Description
14–0
PMFCNTA
PMF Counter A Bits — This register displays the state of the 15-bit PWM A counter.
Module Base + 0x0024
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R0
PMFMODA
W
Reset 0 0 0 0 0 0 0 0 0 0000000
= Unimplemented or Reserved
Figure 11-29. PMF Counter Modulo A Register (PMFMODA)
Table 11-30. PMFMODA Field Descriptions
Field Description
14–0
PMFMODA
PMF Counter Modulo A Bits — 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 LDOKA bit
is set and the next PWM load cycle begins. Reading PMFMODA reads the value in the buffer. It is not
necessarily the value the PWM generator A is currently using.