Professional Documents
Culture Documents
forimput devie
IN gbit port acol
OUT 8bit pori. ",
olevice.
: Time required (T
we naw anlien that eey
(255 X 14) x b.5 Tstate, taken 0-5Us
elvek fre.
clock fre 24H2.
toideungy
LOndition
aetwaly, 254 imes, the JNI atis
But Se fer-the lort executio,
i naisfed., Lont on time Hin ied.
states,
T SD, for oun Pximation,
e
vswdedIh
JN?Cumes timm reqired foy
se we havetu subta-l the
3 extal T states,
those 3T state).
MUI efFH
truetin
amd otside the lop, theu ithen
T states.
shich veqiren
So,-the 4tod time reqired
q95,16- (oxo:5)4s
+7ko.sus
T =7us.
(78549) us.
795 s
that We con
s.
1795
Se tsta time delay delauy
m
2394t+
ms.
109
TStd tirne renirad ()
t04m -(t xos)44(Dxos)4
Veyyeny maW rmaadt
lD ms.
3255- prqrammable periphenal fnt entau
I/D Addrened by )
wnique addrem (o portaddren
bit
devie addrened.
1/o devies cam be PB,P.4).
2=2st
(Contl'word,
reg-(aemengly Jntenfae port(A,
8 bit)7
PA(B) fdevie
comrnuitotin
ntenfang devie needed to mateompatiblemamy /
di{{erenu b/w thern
poenoY ando /o devie beawne, Aher au fenmd /wde rma
in terma 5t worling priniple, sped amd wol
825s i as mediator thrugh 1/p devie cam hieh
acs os an oterfaing device.
Coneetto 09s and hene
3 ports- A,B amdc,cam hold
semd 8 bit data,
82T ha heme
These ports ou tontiqunable ond
rough ts data bus. com behae an fput port or output
called ogrammable.p 3 ports /e port.
coTnect deviu with pt7t A,
thN it i
port.3fwemect nput pbrt
if ye
p
derie, then iti
Iruide,
* trol wbrd
we
con write 9 bit wrd.
registen",
-that wod n called cortrsl word, aceYding to thot
Lontrsl word povts conigwedy
y pot c com be shlited n tro port. - pcL(Len)
VP port amd pou ttiahen)
uppen
or
com be wed as a
srecom aa ningle pord shole ot 9 bit
ddren l6it n
g08s. Sinto, we
requne by we
wpen
sits, rajet the
det bts, ie Ag-A
| Contsl ragister.
Ay A
Ag An A
we noed 8bits
O.
addren,
Bu
neoded tu speuty
1
I783| Canbec
vamdomy.
daned
we comidened,
He
IN &DH (poraddren)
read data /pdevie S
e9T,
OUT 31H (pordB addren)
o'poleviu through 11
Aecunmulatur eonterl con reachthe
deniae, one ide ot hich, we
hye g03md pthen ide
we hawe 1/0 deviu
Cont D 4 Dg
D
DD
D5
wbrd
Cew).
mode-o (inple z/ofw Pe/p)
Bsr mode a homdchakin
mode-s(Behoe. uke
|Csit set-renet)
c mode).
fw pori only.
LAmode-o
ndividual bit
porte com be set s/o devie
6or eset. mode-D: @5 cam semd datato
or vie veNsa direcly awnunmg
botha eady to exehamge dat. sut.
ifthee spd mismtehthem
-IhenewÂIl be an oyerfo.
mot ready, but B09rh
: hadndchakes/b: if s/o devie is
mode-1
Dueh c awe, 302s sendoa
ready to oend data, (r Vie vesa) in
prioy iamat tu o n
device to nfrm;hat oevio, that elata readn
gna t g0 -hat,e
t L
Port c(v)
) torts cambe o
oivided t
qorups
(rr. A
omd Gts).
Cortrol word -frmat.
D6 Dg D
Grup A
GCsup-b.
Port cu P0Yt CL
60/p
port A
Mode, Ö4edeo
I-mwde 1
O0mDde D
oIMDde mode-2 o nst awaila ble
Ix-wwde
m qroup- B.