Menu

Peripheral Management and Drivers

Peripheral Communication

Peripheral management is the operating system function that controls communication with every connected peripheral. It carries input data from each device to the program that needs it, and output data from programs to the device that should show, play or act on it.

Input data reaching the right program

When a peripheral produces data, peripheral management passes it to the program that needs it. Imagine a school sports day timing system. A pressure pad at the finish line sends a signal when a runner crosses. Peripheral management receives that signal and delivers it to the timing program, which records the time. A spreadsheet open at the same time must not receive the signal: the data belongs to the timing program, and mixing the two would corrupt both sets of data.

Output reaching the right device

Output travels the other way. A program may ask for a result to be shown, played or moved, and peripheral management sends it to the correct peripheral. In the sports day system, when the timing program produces a finishing time, peripheral management sends it to the scoreboard: that is the device chosen to display results, so the time appears where the crowd can see it.

By controlling both directions, peripheral management keeps each stream of data separate and makes sure devices and programs work together without data going astray.

Practise this