SlideShare a Scribd company logo
1 of 12
Input-Output
Interface
I/O Interface
■ I/O interface refers to the process of transferring data between internal
storage and external I/O devices.
■ The peripherals linked to any computer system interface with the CPU via
particular communication channels.
■ In order to supervise and synchronize all input and output transfers, there are
special hardware elements between the CPU and peripherals that are referred
to as interface units.
I/O Interface & Interface Module
Mode of Transfer
■ Typically, the memory unit stores the binary data that is received from an external device.
■ The memory unit is the source of the data that is sent from the CPU to the external device.
■ The memory unit is always the source and target of information; the CPU only processes it.
■ Different modes of data transfer between the CPU and the I/O devices are possible.
– Programmed I/O
– Interrupt- initiated I/O.
– Direct memory access( DMA).
Mode of Transfer: DMA
■ The transfer of data between a fast storage device such as magnetic disk and memory
is often limited by the speed of the CPU.
■ Removing the CPU from the path and letting the peripheral device manage the memory
buses directly would improve the speed of transfer. This technique is called direct
memory access (DMA).
■ The process is managed by a chip known as a DMA controller (DMAC).
Mode of Transfer: DMA Controller
■ The Figure 11-17 shows the block diagram of a typical DMA controller. The registers in the
DMA are selected by the CPU through the address bus by enabling the DS (DMA select) and
RS (register select) inputs. The RD (read) and WR (write) inputs are bidirectional. When the
BG (bus grant) input is 0, the CPU can communicate with the DMA registers through the data
bus to read from or write to the DMA registers. When BG = 1, the CPU has relinquished the
memory by specifying an address in the address bus and activating the RD or WR control.
The DMA communicates with the external peripheral through the request and acknowledge
lines by using a prescribed handshaking procedure.
Mode of Transfer: DMA Controller
■ The DMA controller has three registers as follows.
● Address register – It contains the address to specify the desired location in
memory.
● Word count register – It contains the number of words to be transferred.
● Control register – It specifies the transfer mode.
Mode of Transfer: DMA Controller
Mode of Transfer: DMA Controller
■ The CPU initializes the DMA by sending the given information through the data bus.
● The starting address of the memory block where the data is available (to read) or
where data are to be stored (to write).
● It also sends word count which is the number of words in the memory block to be read
or write.
● Control to define the mode of transfer such as read or write.
● A control to begin the DMA transfer.
Mode of Transfer: DMA
■ The CPU initializes the DMA by sending the given information through the data bus.
● The starting address of the memory block where the data is available (to read) or
where data are to be stored (to write).
● It also sends word count which is the number of words in the memory block to be read
or write.
● Control to define the mode of transfer such as read or write.
● A control to begin the DMA transfer.
DMA Transfer
Priority Interrupt
● A priority interrupt is a system that establishes a priority over the various sources to
determine which condition is to be serviced first when two or more requests arrive
simultaneously.
● The system may also determine which conditions are permitted to interrupt the
computer while another interrupt is being serviced.
● Device with high speed transfers such as magnetic disks are given high priority, and
slow devices such as keyboards receive low priority.
● When two devices interrupt the computer at the same time, the computer services the
device, with the higher priority first.

More Related Content

Similar to I/O Interfaces: Bridging the Digital and Physical Worlds

chapter-4-microprocessor-interfacing.pptx
chapter-4-microprocessor-interfacing.pptxchapter-4-microprocessor-interfacing.pptx
chapter-4-microprocessor-interfacing.pptxJaypeeFajanil
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1abinrj123
 
Direct memory access
Direct memory accessDirect memory access
Direct memory accessWBUTTUTORIALS
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organizationvishal choudhary
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organizationvishal choudhary
 
Input - output organzation
Input - output organzationInput - output organzation
Input - output organzationdaxesh chauhan
 
Input_Output_Organization.pptx
Input_Output_Organization.pptxInput_Output_Organization.pptx
Input_Output_Organization.pptxSherinRappai
 
DMA_document__1696148675.pdf
DMA_document__1696148675.pdfDMA_document__1696148675.pdf
DMA_document__1696148675.pdfmadhav590273
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxEliasPetros
 
Input Output Operations
Input Output OperationsInput Output Operations
Input Output Operationskdisthere
 

Similar to I/O Interfaces: Bridging the Digital and Physical Worlds (20)

Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
chapter-4-microprocessor-interfacing.pptx
chapter-4-microprocessor-interfacing.pptxchapter-4-microprocessor-interfacing.pptx
chapter-4-microprocessor-interfacing.pptx
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organization
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organization
 
DMA
DMADMA
DMA
 
Ca 2 note mano
Ca 2 note manoCa 2 note mano
Ca 2 note mano
 
Input - output organzation
Input - output organzationInput - output organzation
Input - output organzation
 
Input_Output_Organization.pptx
Input_Output_Organization.pptxInput_Output_Organization.pptx
Input_Output_Organization.pptx
 
DMA_document__1696148675.pdf
DMA_document__1696148675.pdfDMA_document__1696148675.pdf
DMA_document__1696148675.pdf
 
Peripheral devices
Peripheral devicesPeripheral devices
Peripheral devices
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
 
UNIT 3.pptx
UNIT 3.pptxUNIT 3.pptx
UNIT 3.pptx
 
Input Output Operations
Input Output OperationsInput Output Operations
Input Output Operations
 
Dma
DmaDma
Dma
 
DMA operation
DMA operationDMA operation
DMA operation
 
Chapter 1.pdf
Chapter 1.pdfChapter 1.pdf
Chapter 1.pdf
 

Recently uploaded

ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Recently uploaded (20)

ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

I/O Interfaces: Bridging the Digital and Physical Worlds

  • 2. I/O Interface ■ I/O interface refers to the process of transferring data between internal storage and external I/O devices. ■ The peripherals linked to any computer system interface with the CPU via particular communication channels. ■ In order to supervise and synchronize all input and output transfers, there are special hardware elements between the CPU and peripherals that are referred to as interface units.
  • 3. I/O Interface & Interface Module
  • 4. Mode of Transfer ■ Typically, the memory unit stores the binary data that is received from an external device. ■ The memory unit is the source of the data that is sent from the CPU to the external device. ■ The memory unit is always the source and target of information; the CPU only processes it. ■ Different modes of data transfer between the CPU and the I/O devices are possible. – Programmed I/O – Interrupt- initiated I/O. – Direct memory access( DMA).
  • 5. Mode of Transfer: DMA ■ The transfer of data between a fast storage device such as magnetic disk and memory is often limited by the speed of the CPU. ■ Removing the CPU from the path and letting the peripheral device manage the memory buses directly would improve the speed of transfer. This technique is called direct memory access (DMA). ■ The process is managed by a chip known as a DMA controller (DMAC).
  • 6. Mode of Transfer: DMA Controller ■ The Figure 11-17 shows the block diagram of a typical DMA controller. The registers in the DMA are selected by the CPU through the address bus by enabling the DS (DMA select) and RS (register select) inputs. The RD (read) and WR (write) inputs are bidirectional. When the BG (bus grant) input is 0, the CPU can communicate with the DMA registers through the data bus to read from or write to the DMA registers. When BG = 1, the CPU has relinquished the memory by specifying an address in the address bus and activating the RD or WR control. The DMA communicates with the external peripheral through the request and acknowledge lines by using a prescribed handshaking procedure.
  • 7. Mode of Transfer: DMA Controller ■ The DMA controller has three registers as follows. ● Address register – It contains the address to specify the desired location in memory. ● Word count register – It contains the number of words to be transferred. ● Control register – It specifies the transfer mode.
  • 8. Mode of Transfer: DMA Controller
  • 9. Mode of Transfer: DMA Controller ■ The CPU initializes the DMA by sending the given information through the data bus. ● The starting address of the memory block where the data is available (to read) or where data are to be stored (to write). ● It also sends word count which is the number of words in the memory block to be read or write. ● Control to define the mode of transfer such as read or write. ● A control to begin the DMA transfer.
  • 10. Mode of Transfer: DMA ■ The CPU initializes the DMA by sending the given information through the data bus. ● The starting address of the memory block where the data is available (to read) or where data are to be stored (to write). ● It also sends word count which is the number of words in the memory block to be read or write. ● Control to define the mode of transfer such as read or write. ● A control to begin the DMA transfer.
  • 12. Priority Interrupt ● A priority interrupt is a system that establishes a priority over the various sources to determine which condition is to be serviced first when two or more requests arrive simultaneously. ● The system may also determine which conditions are permitted to interrupt the computer while another interrupt is being serviced. ● Device with high speed transfers such as magnetic disks are given high priority, and slow devices such as keyboards receive low priority. ● When two devices interrupt the computer at the same time, the computer services the device, with the higher priority first.