Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can I get an interrupt event source



Thank you very much for your help,
I'm new in driver development and I was asking this because I have to get an interrupt to respond to a sendEncapsulatedCommand request to my modem.


regards

Mathieu

Le Jan 15, 2004, ` 6:35 PM, Barry Twycross a icrit :

At 2:49 PM +0100 1/15/04, Mathieu wrote:

The device got an interrupt pipe so I should be able to create interruptSource.
If that's not the right way to do that how should I handle the
interrupt send by the device ?

I don't think Interrupt pipes have anything to do with Interrup events. Interrupt pipes are read the same way any other pipe is read. The only thing that makes an interrupt pipe "interrupt" is that it is polled at a set rate, and the device is not necessarily expected to produce data every time its polled. So when data finally does appear it may be used to the same effect as a normal interrupt. They are a way for a device to tell the host about asynchronous events, but are actually synchronous.
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.

References: 
 >how can I get an interrupt event source (From: Mathieu (adnXgroup) <email@hidden>)
 >Re: how can I get an interrupt event source (From: Barry Twycross <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.