English
Language : 

MC68HC08AZ32A Datasheet, PDF (381/456 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
Technical Data — MC68HC08AZ32A
Section 22. Timer Interface Module A (TIMA)
22.1 Contents
22.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
22.3 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
22.4 Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . .385
22.4.1 TIMA Counter Prescaler. . . . . . . . . . . . . . . . . . . . . . . . . . 386
22.4.2 Input Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
22.4.3 Output Compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
22.4.3.1 Unbuffered Output Compare. . . . . . . . . . . . . . . . . . . . 387
22.4.3.2 Buffered Output Compare . . . . . . . . . . . . . . . . . . . . . .388
22.4.4 Pulse Width Modulation (PWM) . . . . . . . . . . . . . . . . . . .390
22.4.4.1
22.4.4.2
22.4.4.3
Unbuffered PWM Signal Generation . . . . . . . . . . . . . 391
Buffered PWM Signal Generation. . . . . . . . . . . . . . . . 392
PWM Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
22.5 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
22.6 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
22.6.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
22.6.2 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
22.7 TIMA During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . 396
22.8 I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
22.8.1 TIMA Clock Pin (PTD6/ATD14/TACLK) . . . . . . . . . . . . . . 396
22.8.2 TIMA Channel I/O Pins (PTF3/TACH5–PTF0/TACH2 and
PTE3/TACH1–PTE2/TACH0) . . . . . . . . . . . . . . . . . . . . . . 397
22.9 I/O Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
22.9.1 TIMA Status and Control Register . . . . . . . . . . . . . . . . . 398
22.9.2 TIMA Counter Registers . . . . . . . . . . . . . . . . . . . . . . . . . 400
22.9.3 TIMA Counter Modulo Registers. . . . . . . . . . . . . . . . . . . 401
22.9.4 TIMA Channel Status and Control Registers. . . . . . . . . 402
22.9.5 TIMA Channel Registers . . . . . . . . . . . . . . . . . . . . . . . . . 407
MC68HC08AZ32A — Rev 1.0
MOTOROLA
Timer Interface Module A (TIMA)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
381