Peripheral

From Computer History Wiki
Revision as of 13:49, 14 June 2018 by Jnc (talk | contribs) (Improve a bit)
Jump to: navigation, search

A peripheral or device is a separate mechanism (always including some electronic hardware, but often also some mechanical constituents) attached to a computer.

They are usually attached to a computer to pass data in and out of the computer - either to secondary storage which is permanently accessible; some other form of data storage, intended for off-line storage (e.g. magnetic tape); or communication, either to users or other computers, etc. A few device types (such as real-time clocks) perform non-I/O functions.

Devices may use either programmed I/O or DMA to get data in and out of the CPU and/or main memory, and interrupts to get the CPU to pay attention to the device when needed.