![Freescale Semiconductor MC9S12ZVM series Reference Manual Download Page 520](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602520.webp)
Chapter 14 Pulse Width Modulator with Fault Protection (PMF15B6CV3)
MC9S12ZVM Family Reference Manual Rev. 1.3
520
Freescale Semiconductor
14.3.2.32 PMF Counter Modulo C Register (PMFMODC)
The 15-bit unsigned value written to this register is the PWM period in PWM clock periods.
NOTE
The PWM counter modulo register is buffered. The value written does not
take effect until the LDOKC bit or global load OK is set and the next PWM
load cycle begins. Reading PMFMODC returns the value in the buffer. It is
not necessarily the value the PWM generator A is currently using.
14.3.2.33 PMF Deadtime C Register (PMFDTMC)
The 12-bit value written to this register is the number of PWM clock cycles in complementary channel
operation. A reset sets the PWM deadtime register to the maximum value of 0x0FFF, selecting a deadtime
of 4095 PWM clock cycles. Deadtime is affected by changes to the prescaler value. The deadtime duration
is determined as follows:
T
DEAD_C
= PMFDTMC / f
PWM_C
= PMFDTMC
×
P
C
×
T
core
Eqn. 14-3
Address: Module Base + 0x0034
Access: User read/write
(1)
1. Read: Anytime. Returns zero if MTG is clear.
Write: Anytime if MTG is set. Do not write a modulus value of zero for center-aligned operation. Do not write a modulus of zero
or one in edge-aligned mode.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
PMFMODC
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 14-37. PMF Counter Modulo C Register (PMFMODC)
Address: Module Base + 0x0036
Access: User read/write
(1)
1. Read: Anytime. Returns zero if MTG is clear.
Write: Anytime if MTG is set.This register cannot be modified after the WP bit is set.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
0
0
0
0
PMFDTMC
W
Reset
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
Figure 14-38. PMF Deadtime C Register (PMFDTMC)