Skip to main content
  • 353 Accesses

Abstract

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 determine if a character has been received, which is inefficient in processor time. But, if the amount of time spent polling the status register is reduced, there is a possibility of the computer missing the received character as another could be sent before the first is read from the receiver buffer. If the serial communications port was set up to interrupt the processor when a new character arrived then it is guaranteed that the processor will always process the receiver buffer.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer Science+Business Media Dordrecht

About this chapter

Cite this chapter

Buchanan, B. (1999). Interrupt-driven RS-232. In: Handbook of Data Communications and Networks. Springer, Boston, MA. https://doi.org/10.1007/978-1-4757-0905-6_48

Download citation

  • DOI: https://doi.org/10.1007/978-1-4757-0905-6_48

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4757-0907-0

  • Online ISBN: 978-1-4757-0905-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics