mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
1aad12468a
Hub Driver is refactored as follows: This commit update and refactors the Hub Driver as follows: - Refactored enumeration state machine and stage functions - Enumeration stage is now incremented - Combined transfer stages of enumeration into common functions - Comments updated - Fixed usbh_hal_disable_debounce_lock() that would cause root_port_handle_events() to fail the HCD_PORT_CMD_RESET call because the previous port connection interrupt was not cleared. The following features were added to the Hub Driver - Enumeration config descriptor is now fetched in two separate stages - Header is fetched first to determine the wTotalLength of the descriptor - Fetching the full descriptor will request exactly wTotalLength bytes - This works around some non-compliant devices that will babble/return zero when requesting a length > wTotalLength - Closes https://github.com/espressif/esp-idf/issues/7799 - Enumeration now stores string descriptors - The Manufacturer, Product, and Serial Number string descriptors are now read and stored during enumeration - String descriptors are now part of usb_device_info_t - Added unit test to test enumeration |
||
---|---|---|
.. | ||
adc | ||
gpio | ||
i2c | ||
i2s | ||
lcd | ||
ledc | ||
mcpwm | ||
pcnt | ||
rmt | ||
sdio | ||
secure_element/atecc608_ecdsa | ||
sigmadelta | ||
spi_master | ||
spi_slave | ||
spi_slave_hd | ||
temp_sensor | ||
timer_group | ||
touch_sensor | ||
twai | ||
uart | ||
usb | ||
wave_gen | ||
README.md |