Lucent Technologies MN102F85K User Manual

Page of 338
Timers
16-Bit Timer Setup Examples
Panasonic  Semiconductor  Development  Company
MN102H75K/F75K/85K/F85K LSI User Manual
120
Panasonic
4.11.9 Setting Up an External Count Direction Controller 
Using Timer 5
In this example, timer 5 counts B
OSC
/4 and the TM5IA pin controls the count 
direction (up or down). An interrupt occurs when the counter reaches a preset 
value.
A. Chip Level
B. Block Level
Figure 4-49 Block Diagram of External Count Direction Control Using Timer 5
Figure 4-50 Configuration Example of External Count Direction Control 
Using Timer 5
TM5IA
P3
P5
CORE
Interrupts
Timers 0-3
Timers 4-5
ROM, RAM
Bus Controller
Serial I/Fs
ADC
P2
P6
P4
up/down
Interrupt B
TM5BC
Timer 5
TM5CA
TM5CB
TM5IA
B
OSC
/4
T
Q
T
Q
R
S
Q
Controller
TM5BC contents
x'1000'
Interrupt
0
x'1FFF'