COA Lecture 22 Io Module PDF
COA Lecture 22 Io Module PDF
System
Data Lines Bus
Control Lines
I/O Module
Links to
peripheral
devices
Control Buffer
Logic
Transducer
Data (device-unique)
to and from
environment
Data
Data Registers External
Device
Data Status
Interface
Lines
Logic
Status/Control Registers Control
Address
Lines Data
External
I/O Device
Logic Status
Interface
Control Logic
Lines Control
Processor communication
Involves command decoding, data, status reporting, address recognition
Device communication
Involves commands, status information, and data
Data buffering
Performs the needed buffering operation to balance device and memory speeds
Error detection
Detects and reports transmission errors
Control and timing
For example, the control of the transfer of data from an
external device to the processor might involve the following
sequence of steps:
1. The processor interrogates the I/O module to check the
status of the attached device.
2. The I/O module returns the device status.
3. If the device is operational and ready to transmit, the
processor requests the transfer of data, by means of a
command to the I/O module.
4. The I/O module obtains a unit of data (e.g., 8 or 16 bits)
from the external device.
5. The data are transferred from the I/O module to the
processor.
Processor communication
Processor communication involves the following: