| Summary |
#include <rl_usb.h>
BOOL usbh_uninit_all (void);
|
| Description | The usbh_uninit_all function uninitializes the USB Host Stack and all of the enabled USB Host Controllers Hardware. It can be used if during the application run time USB Host Stack needs to be disabled for whatever reason (for example lowering power consumption). After usbh_uninit function is called only usbh_init or usbh_init_all should be called for reinitialization of USB Host Stack and USB Host Controller Hardware. The usbh_uninit_all function is part of the RL-USB Host software stack. |
| Return Value | The usbh_uninit_all function returns one of the following manifest constants. - __TRUE
Success. - __FALSE
Indicates that function has failed. Function usbh_get_last_error can be called to determine reason of function failure.
|
| See Also | usbh_engine, usbh_engine_all, usbh_get_error_string, usbh_get_last_error, usbh_init, usbh_init_all, usbh_uninit |
| Example |
#include <rl_usb.h>
int main (void) {
..
usbh_init_all(); // USB Hosts Initialize
..
usbh_uninit_all(); // USB Hosts Uninitialize
..
}
|