USB Library
USBHostShutdown Function
Syntax
void USBHostShutdown();
Description

This function turns off the USB module and frees all unnecessary memory. This routine can be called by the application layer to shut down all USB activity, which effectively detaches all devices. The event EVENT_DETACH will be sent to the client drivers for the attached device, and the event EVENT_VBUS_RELEASE_POWER will be sent to the application layer.

Preconditions

None

Parameters
Parameters 
Description 
None 
None 
Returns

None

Remarks

None

MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla