Section 22. Timer Interface Module (Tim) - Motorola MC68HC908GP32 Technical Data Manual

Table of Contents

Advertisement

Technical Data - MC68HC908GP32•MC68HC08GP32
22.1 Contents
MC68HC908GP32
MC68HC08GP32
MOTOROLA
Freescale Semiconductor, Inc.

Section 22. Timer Interface Module (TIM)

22.2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
22.3
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
22.4
Pin Name Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
22.5
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
22.5.1
TIM Counter Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
22.5.2
Input Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
22.5.3
Output Compare. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
22.5.3.1
Unbuffered Output Compare . . . . . . . . . . . . . . . . . . . . . 348
22.5.3.2
Buffered Output Compare . . . . . . . . . . . . . . . . . . . . . . . 349
22.5.4
Pulse Width Modulation (PWM) . . . . . . . . . . . . . . . . . . . . . 349
22.5.4.1
Unbuffered PWM Signal Generation . . . . . . . . . . . . . . . 350
22.5.4.2
Buffered PWM Signal Generation . . . . . . . . . . . . . . . . . 351
22.5.4.3
PWM Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
22.6
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
22.7
Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
22.7.1
Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
22.7.2
Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
22.8
TIM During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . 354
22.9
I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
22.10 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
22.10.1 TIM Status and Control Register . . . . . . . . . . . . . . . . . . . . 356
22.10.2 TIM Counter Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
22.10.3 TIM Counter Modulo Registers . . . . . . . . . . . . . . . . . . . . . 359
22.10.5 TIM Channel Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Rev. 6
-
Timer Interface Module (TIM)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
341

Advertisement

Table of Contents
loading

Table of Contents