void USBHostTasks();
This function executes the host tasks for USB host operation. It must be executed on a regular basis to keep everything functioning.
The primary purpose of this function is to handle device attach/detach and enumeration. It does not handle USB packet transmission or reception; that must be done in the USB interrupt handler to ensure timely operation.
This routine should be called on a regular basis, but there is no specific time requirement. Devices will still be able to attach, enumerate, and detach, but the operations will occur more slowly as the calling interval increases.
USBHostInit() has been called.
None
None
MLA - USB Library Help Version : 2.16
![]() |