summaryrefslogtreecommitdiff
path: root/src/host/usbh.h
AgeCommit message (Collapse)Author
2024-11-27minor clean uphathach
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11change tusb_init(), tusb_rhport_init() to use init struct for expandabilityhathach
2024-10-10add new tusb_int_handler(rhport, in_isr) as common irq handlerhathach
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-08-26add sndfifo owner info to skip rewriting data for retrying NAKedhathach
2024-04-08add cpuctl and pinctl to tuh_configure() option for max3421hathach
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
2024-01-12- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementationhathach
- change code style
2023-11-24add optional event hook callback tud_event_hook_cb() and tuh_event_hook_cb()hathach
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-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-21implement hcd_edpt_abort_xfer() for EHCI, also move thing around a bithathach
2023-07-21add hcd_edpt_abort_xfer() APIhathach
2023-03-22add tuh_task_event_ready(), better implement blocking control transfer for rtoshathach
2023-03-21add note for blocking tuh_configuration_set(), tuh_interface_set()hathach
2023-03-21add tuh_set_interfacehathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-11-28Retry a few times with transfers in enumeration since device can be unstable ↵hathach
when starting up
2022-11-21host msc example work well with rp2040 pio-usbhathach
2022-06-24fix redundant-decls warnings by usbd/usbhhathach
2022-06-10more dynamic controller for hosthathach
2022-06-08add tuh_configure() for port/dynamic host behavior confighathach
2022-04-20add note for tud_task() behavior in freertos examplehathach
2022-04-20add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout ↵hathach
and in_isr also allow exit tud_task,tuh_task after processing all events for running other background task for user
2022-03-19rename usbh_edpt_open() to tuh_edpt_open()hathach
2022-03-19add parse config descriptor to examplehathach
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-18implement tuh_edpt_xfer() for non-controlhathach
2022-03-18move daddr into xfer structhathach
2022-03-18update sync API, move timeout into xfer structhathach
remove tuh_control_xfer_sync()
2022-03-17rename user_arg to user_datahathach
2022-03-17add CFG_TUH_API_EDPT_XFER to enable generic edpt xferhathach
2022-03-17rename tuh_control_xfer_t to tuh_xfer_thathach
2022-03-17add actual_len supportedhathach
2022-03-17slightly change the signature of tuh_control_xferhathach
2022-03-17change return type of callback to voidhathach
2022-03-17remove const in xfer callbackhathach
2022-03-17move result into transfer structhathach
2022-03-17change tuh_control_xfer_t structhathach
2022-03-16fix -Wnull-dereference warningshathach
2022-03-13add synchronous (blocking) support for usbh control transferhathach
- add synchronous version of all get descriptor API - update bare example to use sync API for string descriptor - change order of index, language_id in tuh_descriptor_get_string() to match similar API of libusb - add index to tuh_descriptor_get_hid_report()
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
2022-03-09rename host descriptor functionhathach
2022-03-09add tuh_descriptor_hid_report_get()hathach
2022-03-04fix naming, and buildhathach
2022-03-04add tuh_descriptor_string_manufacturer/produce/serial_gethathach
2022-03-04add tuh_configuration_set()hathach
2022-03-04add tuh_descriptor_configuration_get()hathach
2022-03-04add tuh_descriptor_get() and tuh_descriptor_device_get()hathach