Typewriter User Manual

MOTOROLA MC68340 USER’S MANUAL 8- 1
SECTION 8
TIMER MODULES
Each MC68340 timer module contains a counter/timer (timer 1 and timer 2) as shown in
Figure 8-1. Each timer interfaces directly to the CPU32 via the intermodule bus (IMB).
Each timer consists of the following major areas:
• A General-Purpose Counter/Timer
• Internal Control Logic
• Interrupt Control Logic
TIMER 2
INTERRUPT
CONTROL
LOGIC
IMB
INTERFACE
TIN2
TOUT2
TGATE2
TIMER 2
TIMER 1
INTERRUPT
CONTROL
LOGIC
IMB
INTERFACE
TIN1
TOUT1
TGATE1
TIMER 1
Figure 8-1. Simplified Block Diagram
8.1 MODULE OVERVIEW
Each timer module consists of the following functional features:
• Versatile General-Purpose Timer
• 8-Bit Prescaler/16-Bit Counter
• Timers Can Be Externally Cascaded for a Maximum Count Width of 48 Bits
• Programmable Timer Modes:
— Input Capture/Output Compare
— Square-Wave Generation
— Variable Duty-Cycle Square-Wave Generation
— Variable-Width Single-Shot Pulse Generation
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...