English
Language : 

MC68HC08AZ32 Datasheet, PDF (233/424 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
Contents
Timer Interface Module A (TIMA)
TIMA
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
TIMA counter prescaler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Input capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Unbuffered output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Buffered output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Pulse width modulation (PWM). . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Unbuffered PWM signal generation . . . . . . . . . . . . . . . . . . . . . 239
Buffered PWM signal generation . . . . . . . . . . . . . . . . . . . . . . . 240
PWM initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Low-power modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Wait mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
TIMA during break interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
I/O Signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
TIMA clock pin (PTD6/TACLK) . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
TIMA channel I/O pins (PTF1/TACH3–PTE2/TACH0) . . . . . . . . . 245
I/O registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
TIMA status and control register (TASC) . . . . . . . . . . . . . . . . . . . 246
TIMA counter registers (TACNTH:TACNTL). . . . . . . . . . . . . . . . . 248
TIMA counter modulo registers (TAMODH/L). . . . . . . . . . . . . . . . 249
TIMA channel status and control registers (TASC0–TASC3) . . . . 250
TIMA channel registers (TACH0H/L–TACHH/L). . . . . . . . . . . . . . 254
1-tima
MOTOROLA
Timer Interface Module A (TIMA)
For More Information On This Product,
Go to: www.freescale.com
MC68HC08AZ32
231