mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-23 02:39:28 +01: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.
58 KiB
58 KiB