English
Language : 

MC68HC908MR8 Datasheet, PDF (13/372 Pages) Motorola, Inc – Microcontrollers
Table of Contents
11.4.3 Output Compare. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
11.4.3.1 Unbuffered Output Compare . . . . . . . . . . . . . . . . . . . . . 206
11.4.3.2 Buffered Output Compare . . . . . . . . . . . . . . . . . . . . . . .206
11.4.4 Pulse-Width Modulation (PWM) . . . . . . . . . . . . . . . . . . . . . 207
11.4.4.1 Unbuffered PWM Signal Generation . . . . . . . . . . . . . . . 208
11.4.4.2 Buffered PWM Signal Generation . . . . . . . . . . . . . . . . . 209
11.4.4.3 PWM Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
11.5 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211
11.6 Wait Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
11.7 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
11.8 TIMA During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . 212
11.9 I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
11.9.1 TIMA Clock Pin (PTB2/TCLKA) . . . . . . . . . . . . . . . . . . . . . 213
11.9.2 TIMA Channel I/O Pins (PTB3/TCH0A–PTB4/TCH1A) . . . 213
11.10 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
11.10.1 TIMA Status and Control Register . . . . . . . . . . . . . . . . . . . 214
11.10.2 TIMA Counter Registers. . . . . . . . . . . . . . . . . . . . . . . . . . .216
11.10.3 TIMA Counter Modulo Registers . . . . . . . . . . . . . . . . . . . . 217
11.10.4 TIMA Channel Status and Control Registers . . . . . . . . . . . 218
11.10.5 TIMA Channel Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Section 12. Timer Interface B (TIMB)
12.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .223
12.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
12.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
12.4 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227
12.4.1 TIMB Counter Prescaler. . . . . . . . . . . . . . . . . . . . . . . . . . .228
12.4.2 Input Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
12.4.3 Output Compare. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
12.4.3.1 Unbuffered Output Compare . . . . . . . . . . . . . . . . . . . . . 230
12.4.3.2 Buffered Output Compare . . . . . . . . . . . . . . . . . . . . . . .231
12.4.4 Pulse-Width Modulation (PWM) . . . . . . . . . . . . . . . . . . . . . 231
12.4.4.1 Unbuffered PWM Signal Generation . . . . . . . . . . . . . . . 232
12.4.4.2 Buffered PWM Signal Generation . . . . . . . . . . . . . . . . . 233
12.4.4.3 PWM Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
MC68HC908MR8 — Rev 4.1
Freescale Semiconductor
Table of Contents
Technical Data
13