English
Language : 

MC68HC708MP16 Datasheet, PDF (11/398 Pages) Freescale Semiconductor, Inc – Microcontrollers
Table of Contents
Section 11. Timer Interface Module A (TIMA)
11.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .201
11.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
11.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
11.4 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .202
11.4.1 TIMA Counter Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . . 205
11.4.2 Input Capture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
11.4.3 Output Compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
11.4.3.1 Unbuffered Output Compare . . . . . . . . . . . . . . . . . . . . . 206
11.4.3.2 Buffered Output Compare . . . . . . . . . . . . . . . . . . . . . . .207
11.4.4 Pulse Width Modulation (PWM) . . . . . . . . . . . . . . . . . . . . 207
11.4.4.1 Unbuffered PWM Signal Generation . . . . . . . . . . . . . . . 209
11.4.4.2 Buffered PWM Signal Generation . . . . . . . . . . . . . . . . . 210
11.4.4.3 PWM Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
11.5 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .212
11.6 Wait Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
11.7 TIMA During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . 213
11.8 I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
11.8.1 TIMA Clock Pin (PTE0/TCLKA). . . . . . . . . . . . . . . . . . . . . 213
11.8.2 TIMA Channel I/O Pins
(PTE1/TCH0A:PTE2/TCH1A) . . . . . . . . . . . . . . . . . . . 214
11.9 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
11.9.1 TIMA Status and Control Register. . . . . . . . . . . . . . . . . . . 215
11.9.2 TIMA Counter Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 217
11.9.3 TIMA Counter Modulo Registers . . . . . . . . . . . . . . . . . . . .218
11.9.4 TIMA Channel Status and Control Registers . . . . . . . . . . 219
11.9.5 TIMA Channel Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Section 12. Timer Interface Module B (TIMB)
12.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225
12.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
12.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
MC68HC708MP16 — Rev. 3.1
Freescale Semiconductor
Table of Contents
Technical Data
11