Bµi 5
Ng¾t vµ
Chip ®iÒu khiÓn ng¾t
8259
!"
# $%&'()$%
'&*+, !"
! / !"0123
4 - 4(5,
6 27,'&*8)
()9:;%$8
1<=
>?@>.ABCD)'EF,
>(
1*(GH%I
1*
>ABC0EJ
3JF
2
æ K,
1)
1. Giíi thiÖu
20123L
()'EB,M,NO
.ABC()'EB,
>.ABC()'EB,+P
Q@
R !"
R()'B, !!
RSN !
OTUL
()'EB,@
R3TUV:W
R3TU
3TUV:W@
1* DX %Y Z B, ?
B&+,P8SM,0EJ
() O P 8S Y [ ?
P)Z(ZP8S
3Z (Z G'\ 8* DX
5, B, B& +,
P 8S P ]' ' P
^_TCZ(Z
-TC+,TU
V:W@
PN,+,
8*DX
3Z(ZP8S`
]'LTY)]'
LS5a
3TU@
b O * P 8S [ TC
Z(Z?P8S5c8''8*
DX 8d H *
b 9 TC )\ 8*
DX $ 7 ` ( ,
L5,Z(Z
P8S
2A O TU B? '
Z (Z 0=F e0]BB
=]B(] F']f TC g B'
8*
h +, TU
@
1* DX Z (Z P 8S :L,
]' T Y TC
'P8S
b P 8S O Y [ T
CZ(Z\8*DX(iO
8jM,
P N , ' 8*
DX 1* DX O L
TC`(BT
Z(ZP8S
kkl
kkk
kkk#
kkkk
kkkk
kkkk
kkkk#
kkkkk
0-ll
0-k4
0-k!
0-k#
0-k
0-k
0-k
0-kk
1.B+,8*(GH%I k E k 4
=
03
=
03
=
03
=
03
2. Tæ chøc Ng¾t cña m¸y tÝnh IBM
PC XT
-+,
k E 4 O ^ _ !4 TC
g Y $ 0- kk\ 0- k\ \ 0-
ll>
b L * \ 3< L
*@
XT , N\ ' Bj
% () , '& m ()'
VGP
S, n
G S B' 8* L
TU B? ' Z (Z
7%)0=F
TU B? ' Z (Z
0=F e0]BB =]B(]
F']f
2A O * B? Z (Z
TU\7%)0=F
2A 0=F O * (S B . S
B' 8* e7 %) 8_ (]U
f %T BS =@03 Bj P
0=FO
B' 8_ (]U +,
\ 8] ^%T 03\8]
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