Chapter 8. Interrupt-Driven IO

< BACK  NEXT >
[oR]

Chapter 8. Interrupt-Driven I/O

CHAPTER OBJECTIVES

  • How Programmed I/O Works

  • Driver Initialization and Cleanup

  • Writing a Start I/O Routine

  • Writing an Interrupt Service Routine (ISR)

  • Writing a DpcForIsr Routine

  • The Parallel Port

  • Parallel Port Loopback Driver

  • Testing the Parallel Port Loopback Driver

  • Summary

Some devices transfer data through registers, requiring continual CPU interaction. Such devices usually move small amounts of data at relatively infrequent intervals. For example, the mouse and keyboard transfer just a few bytes sporadically. Such devices remain idle for minutes (or hours) at a time and so are given the ability to interrupt the processor whenever data is available. This chapter explains how to write the data transfer routines for drivers of this kind of hardware.

< BACK  NEXT >


The Windows 2000 Device Driver Book(c) A Guide for Programmers
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)
ISBN: 0130204315
EAN: 2147483647
Year: 2000
Pages: 156

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net