English
Language : 

MC68HC08AZ0 Datasheet, PDF (279/444 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
Contents
Timer Interface Module B (TIMB)
TIMB
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
TIMB counter prescaler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Input capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Unbuffered output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Buffered output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Pulse Width Modulation (PWM) . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Unbuffered PWM signal generation . . . . . . . . . . . . . . . . . . . . . 284
Buffered PWM signal generation . . . . . . . . . . . . . . . . . . . . . . . 285
PWM initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Low-power modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
WAIT mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
TIMB during break interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
I/O Signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
TIMB clock Pin (PTD4/ATD12/TBLCK). . . . . . . . . . . . . . . . . . . . . 289
TIMB channel I/O pins (PTF5/TBCH1–PTF4/TBCH0) . . . . . . . . . 289
I/O Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
TIMB status and control register (TBSC) . . . . . . . . . . . . . . . . . . . 290
TIMB counter registers (TBCNTH:TBCNTL). . . . . . . . . . . . . . . . . 292
TIMB counter modulo registers (TBMODH:TBMOD) . . . . . . . . . . 293
TIMB channel status and control registers (TBSC0–TBSC1) . . . . 294
TIMB channel registers (TBCH0H/ L–TBCH3H/L) . . . . . . . . . . . . 298
1-timb
MOTOROLA
Timer Interface Module B (TIMB)
For More Information On This Product,
Go to: www.freescale.com
MC68HC08AZ0
277