How to create an out interrupt endpoint?
Posted: Tue May 20, 2014 12:26 pm
Hello!
I have read the documentation but I was unable to find how to create an output interrupt endpoint. All I found was that when I enable the macro USB_CFG_IMPLEMENT_FN_WRITEOUT, the function usbFunctionWriteOut is called. The problem is what endpoint number I use in the host call libusb_interrupt_transfer(), since when I want to write it would expect an output endpoint.
Thank you very much!
I have read the documentation but I was unable to find how to create an output interrupt endpoint. All I found was that when I enable the macro USB_CFG_IMPLEMENT_FN_WRITEOUT, the function usbFunctionWriteOut is called. The problem is what endpoint number I use in the host call libusb_interrupt_transfer(), since when I want to write it would expect an output endpoint.
Thank you very much!