English
Language : 

MC68HC08AZ32 Datasheet, PDF (259/424 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
Contents
Timer Interface Module B (TIMB)
TIMB
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
TIMB counter prescaler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Input capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Unbuffered output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Buffered output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Pulse Width Modulation (PWM) . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Unbuffered PWM signal generation . . . . . . . . . . . . . . . . . . . . . 264
Buffered PWM signal generation . . . . . . . . . . . . . . . . . . . . . . . 265
PWM initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Low-power modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
WAIT mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
TIMB during break interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
I/O Signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
TIMB clock Pin (PTD4/TBLCK). . . . . . . . . . . . . . . . . . . . . . . . . . . 269
TIMB channel I/O pins (PTF5/TBCH1–PTF4/TBCH0) . . . . . . . . . 269
I/O Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
TIMB status and control register (TBSC) . . . . . . . . . . . . . . . . . . . 270
TIMB counter registers (TBCNTH:TBCNTL). . . . . . . . . . . . . . . . . 272
TIMB counter modulo registers (TBMODH:TBMOD) . . . . . . . . . . 273
TIMB channel status and control registers (TBSC0–TBSC1) . . . . 274
TIMB channel registers (TBCH0H/ L–TBCH3H/L) . . . . . . . . . . . . 278
1-timb
MOTOROLA
Timer Interface Module B (TIMB)
For More Information On This Product,
Go to: www.freescale.com
MC68HC08AZ32
257