summaryrefslogtreecommitdiff
path: root/src/host/hcd.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-02-27add back deferred attachment queue, retry get hub port status if reset ↵hathach
change not set after 20ms
2025-11-07fix more alerts found by pvs-studiohathach
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-04-23rename and expose tuh_bus_info_get() to applicationhathach
2025-04-23rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to ↵hathach
hcd_bus_info_get streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
2025-04-03fix(hcd) hcd_edpt_open() return true if endpoint is already opened.hathach
2025-03-25add tuh_edpt_close() API, it will abort any pending transferhathach
implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header.
2024-11-26hcd dwc2 add dcache support, usbh correctly use cache line size with ↵hathach
TUH_EPBUF_DEF
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11hcd_init() take init structhathach
2024-04-02add hcd_configure() to change max NAK dynamicallyhathach
2024-03-22adding deinit() stub for usbh/hcd class driverhathach
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2023-09-27change hcd_int_handler(rhport, in_isr) signature: add in_isrhathach
change tuh_int_handler() to take in_isr as optional parameter (default = true)
2023-08-27more update to transactionhathach
2023-08-23able to get 8 byte descriptor, but read(RCVBC) always return 0hathach
- rename max3421e to max3421 - fix incorrect bitmask for HCTL, fix initial device connect - fix bus reset cause connect IRQ
2023-08-22able to send setup packethathach
2023-08-18- update nrf52 bsp for cmakehathach
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled - add hcd_template.c
2023-08-07Add tuh_rhport_is_active() and tuh_rhport_reset_bus()hathach
- also improve ehci bus reset - seperate bus reset delay and contact debouncing delay in enumeration
2023-07-26mising ehcihathach
2023-07-26correct hcd_edpt_clear_stall() API signaturehathach
2023-07-24Merge branch 'master' into hcd-abort-xferHa Thach
2023-07-24clean uphathach
2023-07-24change dcache clean/invalidate return type to boolhathach
add tu_assert() check for aligned 32byte address for imxrt
2023-07-21implement hcd_edpt_abort_xfer() for EHCI, also move thing around a bithathach
2023-07-21add hcd_edpt_abort_xfer() APIhathach
2023-06-16fix build warningshathach
2023-05-18EHCI more improvementhathach
- more dcache clean/invalidate - extract init_periodic_list() - improve isr list handling
2023-05-18EHCI adding dcahe support, passing enumertaionhathach
2023-05-17adding hcd_dcache_clean/hcd_dcache_invalidatehathach
2023-05-16EHCI: fix xfer failed with disconnected device as stalledhathach
- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if not defined - change QHD_MAX for EHCI, should be user configurable and more optimized in the future
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-22move and add optional tusb_app_virt_to_phys/tusb_app_phys_to_virthathach
also add place holder for tusb_app_dcache_flush() and tusb_app_dcache_invalidate()
2022-06-16Merge pull request #1480 from Ryzee119/multihub_rebaseHa Thach
Host: Add support for multi-level usb hubs
2022-06-08add tuh_configure() for port/dynamic host behavior confighathach
2022-05-29Fix non-trivial designated initializers compile errorRyzee119
2022-04-27make hcd_event_handler() fastfunc, and force inline other helperhathach
2022-04-01pio usb control work well including stall responsehathach
2022-03-20Merge branch 'master' into pio-hosthathach
2022-03-10remove obsolete device statehathach
2022-03-04correct qhd and qtd count for ehci/ohcihathach
2022-03-04rename HCD_MAX_XFER to CFG_TUH_ENDPOINT_MAXhathach
minor clean up
2022-03-01start to add pio usb (host) supporthathach
run as proof of concept
2022-02-25internal symbol renamehathach
2022-02-25rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLEDhathach
2021-08-23add hcd_devtree_get_info()hathach
remove usbh_hcd.h
2021-08-23add hcd attr, add note for ehci framelist on NXP derivativehathach
2021-08-23rename CFG_TUSB_HOST_DEVICE_MAX to CFG_TUH_DEVICE_MAXhathach
2021-06-10implement usbh_edpt_busy (WIP), remove hcd_edpt_busyhathach
2021-06-10remove hcd_edpt_stalled()hathach