825318253·5
MODE
0:
Interrupt on Terminal Count
CLOCK
i I
WRn~
I I
4 3 2 1 0
OUTPUT (INTERRUPT)
l'
I
In
=
41
I---t--n
--+]
I I
I I
WRm~
I I
GATE------------~:L___Jr~I--------
5 4 2 1
OUTPUT
(INTERRUPTI
(m
"'51
'--'
A
A+B=-m
MODE 1: Programmable One·Shot
TRIGGER
~
4 3 2 1
~i~~~~-f-----------
OUTPUT
TRIGGER~
4i_~3
__
:2~4
__
3~~2
__
'~j---------
OUTPUT
----,.
MODE
2:
Rate Generator
Figure
5.
8253 Timing Diagrams
MODE
3:
Square Wave Generator
CLOCK
OUTPUT
(n
=
4)
OUTPUT
(n
=
51
MODE
4:
Software Triggered Strobe
CLOCK
OUTPUT
________
~~~2
__
'~~
GATE
-------~~~---------
OUTPUT
_
______
~4
_______
4~_3
__
2
__
~1__;0
u-
MODE
5:
Hardware Triggered Strobe
9-11
CLOCK
GATE
------I
r
-----
4 3 2 1 0
OUTPUT
(n
•
41
L.J
GATE~
4343210
OUTPUT
In
•
41
W
AFN-00745A-06