Re: CE5 device driver in polling mode
- From: "Henrik Viklund" <henrik.viklund@xxxxxxxxx>
- Date: 8 Dec 2006 15:04:28 -0800
Huh? Not sure what you're asking here, but "polling" is just checking a
resource from time to time rather than setting up the resource to
signal only when something intresting has happened to it via say an
event (as when using interrupts). You can take pretty much any basic
event-driven driver you like as base and in the thread procedure change
the WaitForSingleObject call with a Sleep(0) and voila, you have the
base of a polling driver...
Henrik Viklund
http://www.addlogic.se
shiju skrev:
Hello,
Could someone point me to a device driver in wince 5 that does polling
to access data from a device. I need to develop a i2c driver for a
device that does not have interrups. So I need to use polling mechanism
in driver to implement a driver for the device. I could not find any
good document on polling mode for device driver in PB document.
Thanks for your help.
THanks,
Shiju
.
- References:
- CE5 device driver in polling mode
- From: shiju
- CE5 device driver in polling mode
- Prev by Date: Changing the wait cursor
- Next by Date: Re: CE5 device driver in polling mode
- Previous by thread: CE5 device driver in polling mode
- Next by thread: Re: CE5 device driver in polling mode
- Index(es):
Relevant Pages
|