The UnInit function is used for uninitialization of the
device. It will be called automatically by the USB Host Core when
device is disconnected form the USB Host controller bus. The argument
ctrl specifies the controller index. The argument
dev_idx specifies the device instance index.
Uninitialization function has to do device specific
uninitialization if any is needed, it also has to set Init bit in
Device Class Instance (USBH_DCI) structure to 0 after
uninitialization is successful.
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 UnInit 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.