Hello everyone!
I have a question. register callback function USBHMouseOpen in usb_host_mouse. I cann't find definiton of it. I want to ask pinciple operation of callback function in USB.
Can anyone help me?
Thanks a lot.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
To begin with, I would refer you to the example program, usb_host_mouse.c (found in examples/boards/ek-lm4f232/usb_host_mouse). In this example, a function MouseCallback() is used as the callback function, and may be used as a reference for what the callback function is to do.
--Bobby