When I work with this function as usb_interrupt_write returns -2. From the help page states that a number < 0 is an error. But before it comes with the number as -32 (it was because i do not pass the absolute address of terminating point). But currently, I don't have any idea about the reason why is this error (now) -2
According to me, it could be an EndPoint error, that this terminating point is not a file descriptor valid. Somebody have any idea about the procedure to open an endpoint ?
Bookmarks