summaryrefslogtreecommitdiff
path: root/src/host/hub.h
AgeCommit message (Collapse)Author
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2026-03-07open hub mtt interface in 1 callhathach
2025-12-11refactor usbh_class_driver_t's open() to return number of driver len instead ↵hathach
of bool. help to simplify parsing configuration
2025-04-24refactor hub driver and move port reset on connection change to usbh.hathach
hub: add hub_port_get_status_local(), ignore resp in hub_port_get_status(pot != 0) usbh properly deboucning with hub/rootport accordingly to usb specs, also add 10ms of reset recovery
2025-02-19more hub improve, handle more failed transfer with polling interrupt status ↵hathach
endpoint
2025-02-19complete separate hub epbuf from itfhathach
add hub_get_status(), hub_clear_feature()
2025-02-17usbh always retry control transfer (max 3) in case of XFER_RESULT_FAILED.hathach
added tuh_connected()
2025-02-17improve hub: retry if hub interrupt endpoint failedhathach
bump up pio-usb to latest
2024-03-22implement tuh_init()hathach
change usbh driver init() return type from void to bool
2024-03-22adding deinit() stub for usbh/hcd class driverhathach
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2022-03-17rename user_arg to user_datahathach
2022-03-17rename tuh_control_xfer_t to tuh_xfer_thathach
2022-03-12rework usbh enumeration process using user arg from control transfer as statehathach
2022-03-11rework usbh control xferhathach
- change API of tuh_control_xfer and its callback - rename tuh_control_complete_cb_t to tuh_control_xfer_cb_t - add user argument to control callback - migrate usbh and hub
2022-03-10fix enumeration issue when plugging hub with multiple devices attachedhathach
2021-08-20change host driver open return type to boolhathach
the descriptor len used by driver will be calculated by usbh
2021-06-28change usbh open driver to have max_len and return driver lenhathach
2021-05-31add hub_port_set_feature()hathach
2021-05-27more include clean uphathach
2021-02-18Implement requested PR changesJeremiah McCarthy
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding behavior standard. Replaced unused variable name with TU_RESERVED.
2021-02-16Add alternate bitfield padding optionJeremiah McCarthy
Adds configuration option CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, which substitutes bitfield variable " : 0" padding syntax with an unused variable of size equal to the remaining number of bits. This change resolves aligned access issues for some platforms. Default behavior is original if the option is not explicitly enabled.
2020-11-02update usbh with hub to use async control transferhathach
work ok with msc + hub, but definitely need more testing.
2020-09-06change xfer_cb return type from void to boolhathach
2020-09-05refactor hub classhathach
- separate connect/disconnect handling - hub work with full speed, but doesn't seem to work with Low speed device (with mcb1800) - need to update msc host after migrating from isr to xfer_cb (blocked at inquiry)
2020-09-05defer xfer_isr to xfer_cbhathach
2020-01-15Normalize line endingsNathan Conrad
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-14update license year to 2019hathach
2019-03-27cleanup, remove the use of _TINY_USB_SOURCE_FILE_hathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2018-12-14clean up compiler attributehathach
2018-12-11completely remove pipe handle for cdc/hub/ehcihathach
2018-12-10usbh name changehathach
2018-12-10removing pipe handlehathach
2018-12-09change usbh class driver open signaturehathach
2018-12-06clean up hubhathach
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-08-13rename VERIFY to TU_VERIFY to avoid conflict with applicationhathach
2018-06-18rename subfolder source to srchathach