Summary

< BACK  NEXT >
[oR]

This chapter presented two distinct methods of dealing with time within a driver. Typically, a driver needs to keep track of time either to ensure the device is working normally or to poll for further device interaction.

The I/O Timer mechanism is simple but crude, generating callbacks at fixed one-second intervals.

CustomTimerDpc routines are used primarily for efficient polling of devices in lieu of device interrupts.

The next chapter deals with DMA operations within the device and its associated driver.

< 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