mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-14 09:14:50 +00:00
This commit adds the usb_host_lib_set_root_port_power() function. This provides a public API for users to power the root port OFF or ON at runtime, thus trigger a disconnection or allow connections respectively. In addition, the usb_host_config_t.root_port_unpowered install configuration is provided to allow users to install the USB Host Library without automatically powering ON the root port.
56 KiB
56 KiB