Input, Output Devices and Buses
Input/output devices exchange data with a computer through hardware interfaces and controllers.
Summary
Input/output devices exchange data with a computer through hardware interfaces and controllers. Input devices, such as keyboards and microphones, convert external information into computer-readable data. Output devices, such as displays and speakers, convert computer data into externally usable forms.
Device controllers expose data, status, and control registers. Operating-system drivers manage hardware-specific operations, shielding applications from device details. Memory-mapped input/output places device registers in the processor's memory address space so software can access them through memory instructions.
Buses convey address, data, and control information through dedicated or multiplexed paths. Bus bandwidth and protocol overhead can constrain throughput even when other components are fast. Buffering absorbs temporary differences between data production and consumption rates.
| Mechanism | Operation | Processor involvement |
|---|---|---|
| Polling | Repeatedly checks device status | Processor performs repeated checks |
| Interrupt-driven input/output | Notifies the processor when an event needs attention | Avoids continuous status checking |
| Direct memory access | Hardware transfers blocks between a device and memory | No processor instruction is needed to move each item |
USB is a host-controlled serial interface commonly used for external peripherals. PCIe is a serial interconnect with point-to-point links composed of lanes. Standardized interfaces support compatible peripherals.
Common Misconceptions: Interrupts notify the processor; they are not themselves a block-transfer mechanism. DMA limits processor involvement rather than eliminating it entirely. Memory-mapped input/output assigns memory addresses to device registers; those registers are not ordinary main memory.
🧠 Key Concepts
- Input and output
- Controller registers
- Bus signaling
- Polling
- Interrupt driven input/output
- Direct memory access
- Memory mapped input/output
- Buffering
- Peripheral interfaces
🧠 Quick Check
See what you remember from the summary.
A driver needs to exchange data with a peripheral, inspect its readiness, and issue commands. What does the device controller expose for these operations?
🧠 Flashcards Preview
Tap a card to reveal the definition.
Ready to quiz yourself?
Test what you remember with a full practice quiz on this note. Create a free account and start in seconds.
Full Notes
Read the original note content before deciding whether to save or study from it.
Input, Output Devices and Buses
📘 Overview Input and output devices exchange data with a computer through hardware interfaces and controllers. Buses connect processors, memory, and peripherals using defined signaling and communication protocols.
🧠 Key Idea Input/output requires both a data path and coordination: buses carry transfers, while controllers and operating-system drivers manage device operations. Interrupts and direct memory access reduce the processor's involvement in those operations.
⚔️ Core Details: - Input devices convert external information into computer-readable data; examples include keyboards, pointing devices, scanners, and microphones. - Output devices convert computer data into externally usable forms; examples include displays, printers, and speakers. - A device controller exposes data, status, and control registers for software access. - Bus signals convey addresses, data, and control information over dedicated or multiplexed communication paths. - An interrupt notifies the processor of an event requiring attention, such as completion of an input/output request. - Direct memory access transfers blocks between a device and main memory without processor instructions moving each individual data item.
🎯 Why It Matters: - Peripheral speeds vary widely, so buffering helps absorb temporary differences between data production and consumption rates. - Interrupt-driven input/output avoids continuous status checking, allowing processor time to support other work. - Bus bandwidth and protocol overhead can limit system throughput even when the processor and storage device are fast. - Standardized interfaces support compatible peripherals, while device drivers isolate applications from hardware-specific operations.
🧠 Quick Recall: - Polling - repeated processor checks of a device's status register to determine readiness or completion. - Memory-mapped input/output - device registers occupy addresses in the processor's memory address space and are accessed through memory instructions. - DMA - direct memory access; hardware moves data between a peripheral and memory with limited processor involvement. - USB - Universal Serial Bus; a host-controlled serial interface commonly used for external peripherals. - PCIe - Peripheral Component Interconnect Express; a serial interconnect using point-to-point links composed of lanes.
More ways to study when you copy this note
Copy this note into your library to unlock focused practice sessions and long-term review.
Answer all questions first, then see feedback at the end — the way real exams work.
Focuses each session on what you got wrong, not what you already know.
Full timed exam with all questions, no pausing, and results at the end. Built for board exam prep.
Part of 🗄️ BS Information Systems — 1st Year
Browse this Review Set →More Computer Science notes
See all →More in Computer Science
See all →More from NoteLib
Browse NoteLib's public notes →Copy this note to your library and get the full Study Pack instantly — summary, key concepts, and practice quiz included.