English
Language : 

MC9S12E128V1 Datasheet, PDF (353/606 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
11.3.2.30 PMF Enable Control C Register (PMFENCC)
Module Base + 0x0030
7
6
5
4
3
2
R
0
0
0
0
0
PWMENC
W
Reset
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 11-36. PMF Enable Control C Register (PMFENCC)
1
LDOKC
0
Read anytime and write only if MTG is set.
0
PWMRIEC
0
Table 11-39. PMFENCC Field Descriptions
Field
Description
7
PWMENC
PWM Generator C Enable — If MTG is clear, this bit reads zero and cannot be written.
If MTG is set, this bit when set enables the PWM generator C and the PWM4 and PWM5 pins. When PWMENC
is clear, PWM generator C is disabled, and the PWM4 and PWM5 pins are in their inactive states unless the
OUTCTL4 and OUTCTL5 bits are set.
0 PWM generator C and PWM4–5 pins disabled unless the respective OUTCTL bit is set.
1 PWM generator C and PWM4–5 pins enabled.
1
LDOKC
Load Okay C — If MTG is clear, this bit reads zero and can not be written.
If MTG is set, this bit loads the PRSCC bits, the PMFMODC register and the PWMVAL4–5 registers into a set of
buffers. The buffered prescaler divisor C, PWM counter modulus C value, PWM4–5 pulse widths take effect at
the next PWM reload.
Set LDOKC by reading it when it is logic zero and then writing a logic one to it. LDOKC is automatically cleared
after the new values are loaded, or can be manually cleared before a reload by writing a logic zero to it. Reset
clears LDOKC.
0 Do not load new modulus C, prescaler C, and PWM4–5 values.
1 Load prescaler C, modulus C, and PWM4–5 values.
Note: Do not set PWMENC bit before setting the LDOKC bit and do not clear the LDOKC bit at the same time
as setting the PWMENC bit.
0
PWMRIEC
PWM Reload Interrupt Enable C — If MTG is clear, this bit reads zero and cannot be written.
If MTG is set, this bit enables the PWMRFC flag to generate CPU interrupt requests.
0 PWMRFC CPU interrupt requests disabled
1 PWMRFC CPU interrupt requests enabled
MC9S12E128 Data Sheet, Rev. 1.07
Freescale Semiconductor
353