28

Interrupt-driven RS-232

28.1 Interrupt-driven RS-232

Interrupt-driven devices are efficient on processor time as they allow the processor to run a program without having to poll the devices. This allows fast devices almost instant access to the processor and stops slow devices from ‘hogging’ the processor. For example, a line printer tends to be slow in printing characters. If the printer only interrupted the processor when it was ready for data then the processor can do other things while the printer is printing the character. Another example can be found in serial communications. Characters sent over an RS-232 link are transmitted and received relatively slowly. In a non-interrupt-driven system the computer must poll the status register to ...

Get Computer Busses now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.