Datasheet
Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6C) Module
MC9S12E256 Data Sheet, Rev. 1.10
Freescale Semiconductor 351
11.3.2.22 PMF Counter A Register (PMFCNTA)
Read anytime and writes have no effect.
This register displays the state of the 15-bit PWM A counter.
11.3.2.23 PMF Counter Modulo A Register (PMFMODA)
Read and write anytime.
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.
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
Address: $0022
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)
Address: $0024
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)
