26 Jul 2012 10:00
About API design of libusbK
<kuroda_shinsuke_em <at> yahoo.co.jp>
2012-07-26 08:00:21 GMT
2012-07-26 08:00:21 GMT
Hi,
I have a question about API design of the isochronous transfer.
It is difference with the API design in Linux.
<<Case of Linux>>
[Driver] [USB Core/device]
Thread_A
| |
|-usb_submit_urb(##, |
| callback_submit_comp, |
| ##);---------------------->|
|
/* When a request is completed, called from a USB core.*/
|-callback_submit_comp <-------callback-----|
|
|etc..
<<Case of libusbK>>
#CASE-1 --serial--
[Driver] [USB Core/device]
Thread_A
| |
|-UsbK_IsoReadPipe();---------------------->|
| |
| /* wait for transfer completion */ |
|-OvlK_Wait();----------------------------->|
|
(Continue reading)
RSS Feed