English
Language : 

MC9S12E256 Datasheet, PDF (343/602 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
Table 11-28. PWM Prescaler A
PRSCA
00
01
10
11
PWM Clock Frequency
fbus
fbus/2
fbus/4
fbus/8
11.3.2.22 PMF Counter A Register (PMFCNTA)
Module Base + 0x0022
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R0
PMFCNTA
W
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 11-28. PMF Counter A Register (PMFCNTA)
Read anytime and writes have no effect.
Table 11-29. PMFCNTA Field Descriptions
Field
Description
14–0 PMF Counter A Bits — This register displays the state of the 15-bit PWM A counter.
PMFCNTA
11.3.2.23 PMF Counter Modulo A Register (PMFMODA)
Module Base + 0x0024
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R0
W
PMFMODA
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 11-29. PMF Counter Modulo A Register (PMFMODA)
Read and write anytime.
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.
MC9S12E256 Data Sheet, Rev. 1.08
Freescale Semiconductor
343