Coa 5
Coa 5
IN PUT/ouTPUT
eitheNal heucA :
The inbut- ottt sbystem af a cematex, Maexsd
to as T|O, uides an <tent mede of commuricatia
bctacen certtxal stem and the atide enNiMonnort
lo eolue
dithexanee., compute ayatoms icuda
hese
sheca!hovdue comhenerta (callud inteehace nit
htueen the CPU and Ahenals to auhouide rd
Aynchnize a inputa and actt
They inta>haca betuwen the HOCO bus and the
pesibhexal deuia:
In adoition, 2ach dauice may baue it asn coneallee
that supiea the chaxotions oh he hasctiaulax
mechanin in the seisherala.
Connection oh To0 bu
bul to inpt- autht deulces
dauca adde an the addees
The puo cLsLex placu
Cortans n addss dac0dese that monitoy
Eoch irdface
the addees ies
- When the dolect üts own addes, t actuates
the toth botween the bus lines and the deutea hat
conol
A taábhera shoe adds d@s nat eoweerd te
the addes n the bua e di¡abled by thein into7acr
I/0 Command -
A th Are me tht the ddes mada auo ilohe
an the addue lihes, the oseN Aeuides a
un Ihe cora! ine.
ntian
Coda
the txhce sele cted thorte to the
faur tytes
Conta
commardi
Satu
Data Cutt
ata Int
tatsi
A t t s command is LAed to tot vosils sttu
Tnt data i
The ütejaee eceives an item data
and placeu
heishoal ad ite "bujen
in itt
laceu itit in gito
- "The þcese checke i dlata ae auaiable by meos,
a stat cemand ane ther isae a data
input cemmand.
data n th data iu,
The iteface Alace the
ohee they accapted by the eoceae
I/O Memey u
In addition to communicatig wt T/O, the poeAN
uut comnulcate csth te memey nt
3 such coay
i) cue eeot buse, ne
2 sctaata eea
athe
IOP :
- In the methed, the comuctos bas indeanelant
of data, oddes and Cet! bue, ne
accauing memey nd ther
This i dene in computer that þoude a Leþaxat
I/O oceer (IOP) n additien to he certal
wit CPU).
The IO boceLear u someme
a data
channel.
JAalatod weHALA Memoy - Mabbed T|0
Memony- mapped To
set e eod faite contel ives (no distinctio
A sigle
bettueen memey and Ijo tonsfd
and /O addee ahaQ the commn addes
Memey wshich Hducs memy
adess Jarge auoilable
Addes Bus
Data eeu
tMemey Corte
nes
Tsolated I/O
Adolbese Beu
Dta B
Mene
I/O
Memy Mapped I/O
-
Examble o} To Intox7aco
IJ0data
Posct A
Rdixecoral Bus
ata Bi
IJo data
Ch select CS oegistex
RS1 Trtehal
Regiutx Solet
RSO Tinig Corto Catl
and
I/0 od RD
Corta
egiutaxe|
Stetus Setu
|Port B agiste
1
Cartual ssgtee
Satus agite
INTERRUPTS -
- IrteUuti is a pOUA that alleOs the
...kod seocer to
cwoUt exeCution nd and to external
intenal sequst
Inteu can he tided to the
poeALeY by 2cay
pgam cuxiten in compurter memeY
) theugh arteunal peniphexals
Thee e
t) Makable v/s
irtaup
v/s Non-rakable.
) Vetaned v/s on- ected
IJo inst
- The pgamed ilo aaatiens
aitten in te cemutex egHam: tach data tm
initiated by an intuction in the pegram
danste is
nalley, the teanaox
Othe ncteuctions axe neaded to dnfex
poxiphoal.
the dat to and CPU a memay
the untexhace
Onca the Hag u claaxad,
deaigned
the data acce bted
line and thedoulce con ctanh
dloble
the next dota bfte
Read date Reqitex
heck ag but
Elag=1
data to
mene
Shoatian
Cemplcte
ContinLe ctth
Tntupt boctair
-A deuica doLese intiatu an TIOALqet
Acldess Bus)
Bes squut
ABUS
High
úmhedance
Dato Bs Cdisabte)
CPU
is ehatbled
WR woite
The
the nade the
Avarfo
in.the DMA appeat to the CPU Qs YO
- A eqestea hus the PU can eadl
ítegace sagiten qistes undox
eote into the DMA
úa the data bs.
DMA TxanBe i
- The CPU comuiates wth the DMA thSugh
the addes