List of Figures
MC68HC912B32 MC68HC12BE32 — Rev. 3.0
Advance Information
MOTOROLA
List of Figures
19
Figure
Title
Page
11-1
11-2
11-3
11-4
11-5
11-6
11-7
11-8
11-9
11-10 PWM Scale Register 1 (PWSCAL1). . . . . . . . . . . . . . . . . . . .182
11-11 PWM Scale Counter 1 Value (PWSCNT1). . . . . . . . . . . . . . .182
11-12 PWM Channel Counter 0 (PWCNT0). . . . . . . . . . . . . . . . . . .183
11-13 PWM Channel Counter 1 (PWCNT1). . . . . . . . . . . . . . . . . . .183
11-14 PWM Channel Counter 2 (PWCNT2). . . . . . . . . . . . . . . . . . .183
11-15 PWM Channel Counter 3 (PWCNT3). . . . . . . . . . . . . . . . . . .183
11-16 PWM Channel Period Register 0 (PWPER0). . . . . . . . . . . . .184
11-17 PWM Channel Period Register 1 (PWPER1). . . . . . . . . . . . .184
11-18 PWM Channel Period Register 2 (PWPER2). . . . . . . . . . . . .185
11-19 PWM Channel Period Register 3 (PWPER3). . . . . . . . . . . . .185
11-20 PWM Channel Duty Register 0 (PWDTY0) . . . . . . . . . . . . . .186
11-21 PWM Channel Duty Register 1 (PWDTY1) . . . . . . . . . . . . . .186
11-22 PWM Channel Duty Register 2 (PWDTY2) . . . . . . . . . . . . . .186
11-23 PWM Channel Duty Register 3 (PWDTY3) . . . . . . . . . . . . . .186
11-24 PWM Control Register (PWCTL) . . . . . . . . . . . . . . . . . . . . . .188
11-25 PWM Special Mode Register (PWTST) . . . . . . . . . . . . . . . . .189
11-26 Port P Data Register (PORTP). . . . . . . . . . . . . . . . . . . . . . . .190
11-27 Port P Data Direction Register (DDRP) . . . . . . . . . . . . . . . . .190
11-28 Example Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191
Block Diagram of PWM Left-Aligned Output Channel . . . . . .173
Block Diagram of PWM Center-Aligned Output Channel . . . .173
PWM Clock Sources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .174
PWM Clocks and Concatenate Register (PWCLK) . . . . . . . .175
PWM Clock Select and Polarity Register (PWPOL). . . . . . . .177
PWM Enable Register (PWEN) . . . . . . . . . . . . . . . . . . . . . . .179
PWM Prescale Counter (PWPRES). . . . . . . . . . . . . . . . . . . .180
PWM Scale Register 0 (PWSCAL0). . . . . . . . . . . . . . . . . . . .181
PWM Scale Counter Register 0 (PWSCNT0). . . . . . . . . . . . .181
12-1
12-2
Timer Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .197
Timer Input Capture/Output Compare
Select Register (TIOS). . . . . . . . . . . . . . . . . . . . . . . . . . . .198
Timer Compare Force Register (CFORC) . . . . . . . . . . . . . . .198
Output Compare 7 Mask Register (OC7M) . . . . . . . . . . . . . .199
Output Compare 7 Data Register (OC7D) . . . . . . . . . . . . . . .199
Timer Count Register (TCNT). . . . . . . . . . . . . . . . . . . . . . . . .200
12-3
12-4
12-5
12-6