The UnConfig function is used for unconfiguration of
resources used by the device instance of class. It will be called
automatically by the USB Host Core when device is disconnected form
the USB Host controller bus and uninitialized. The argument
ctrl specifies the controller index. The argument
dev_idx specifies the device instance index.
Unconfiguration function has to clear Device Class Instance
(USBH_DCI) structure and
it also has to clear any class specific details needed for class
specific handling (in example below these parameters are in structure
USBH_MSC).
You can modify this function to suit different class driver. This
function will need to be changed for class that does not have driver
provided.
Return Value
The UnConfig function returns one of the following manifest
constants.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.