MPLAB Harmony USB Stack
|
This routine maintains the USB Host layer's state machine. It must be called frequently to ensure proper operation of the USB. This function should be called from the SYS_Tasks function.
void USB_HOST_Tasks( SYS_MODULE_OBJ hostLayerObject );
The USB_HOST_Initialize routine must have been called for the specified USB Host Layer instance.
Parameters |
Description |
object |
Object handle for the specified driver instance (returned from USB_HOST_Initialize) |
None.
This routine is not intended to be called directly by an application. It is called by the MPLAB Harmony System Tasks function.
SYS_MODULE_OBJ object; // Returned from USB_HOST_Initialize void SYS_Tasks(void) { USB_HOST_Tasks (object); // Do other tasks }
MPLAB Harmony USB Stack
|