Datasheet
Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6C) Module
MC9S12E256 Data Sheet, Rev. 1.10
354 Freescale Semiconductor
11.3.2.27 PMF Counter B Register (PMFCNTB)
Read anytime and writes have no effect.
This register displays the state of the 15-bit PWM B counter.
0
PWMRFB
PWM Reload Flag B — This flag is set at the beginning of every reload cycle regardless of the state of the
LDOKB bit. Clear PWMRFB by reading PMFFQCB with PWMRFB set and then writing a logic one to the
PWMRFB bit. If another reload occurs before the clearing sequence is complete, writing logic one to PWMRFB
has no effect.
0 No new reload cycle since last PWMRFB clearing
1 New reload cycle since last PWMRFB clearing
Note: Clearing PWMRFB satisfies pending PWMRFB CPU interrupt requests.
Table 11-31. PWM Reload Frequency B
LDFQB PWM Reload Frequency LDFQ[3:0] PWM Reload Frequency
0000 Every PWM opportunity 1000 Every 9 PWM opportunities
0001 Every 2 PWM opportunities 1001 Every 10 PWM opportunities
0010 Every 3 PWM opportunities 1010 Every 11 PWM opportunities
0011 Every 4 PWM opportunities 1011 Every 12 PWM opportunities
0100 Every 5 PWM opportunities 1100 Every 13 PWM opportunities
0101 Every 6 PWM opportunities 1101 Every 14 PWM opportunities
0110 Every 7 PWM opportunities 1110 Every 15 PWM opportunities
0111 Every 8 PWM opportunities 1111 Every 16 PWM opportunities
Table 11-32. PWM Prescaler B
PRSCB PWM Clock Frequency
00 f
bus
01 f
bus
/2
10 f
bus
/4
11 f
bus
/8
Address: $002A
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R 0 PMFCNTB
W
Reset 0 0 0 0 0 0 0 0 0 0000000
= Unimplemented or Reserved
Figure 11-33. PMF Counter B Register (PMFCNTB)
Table 11-30. PMFFQCB Field Descriptions (continued)
Field Description
