summaryrefslogtreecommitdiff
path: root/src/host/usbh.h
AgeCommit message (Collapse)Author
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
2022-03-03Add host string descriptor functionsScott Shawcroft
Plus typo fixes, GCC11 array bounds fix, snprintf for malloc-free debug and pragmas for alignment checks.
2021-08-24add tuh_vid_pid_get()hathach
complete Sony PS4 dualshock controller example
2021-08-24rename host API to be consistent with naming on device stackhathach
- tuh_device_get_speed() to tuh_speed_get() - tuh_device_configured() to tuh_mounted() - tuh_device_ready() to tuh_ready()
2021-06-10remove hcd_edpt_stalled()hathach
2021-06-10add usbh_classdriver.hhathach
2021-05-27more include clean uphathach
2021-05-18add tuh_device_ready()hathach
2021-05-18rename tuh_device_is_configured() to tuh_device_configured()hathach
- remove tuh_device_get_state() - more hid mouse clean up
2021-05-18rename CFG_TUSB_HOST_ENUM_BUFFER_SIZE to CFG_TUH_ENUMERATION_BUFSZIEhathach
add usbh_get_enum_buf
2021-05-18separte tusb_init/inited() to tud/tuh init/initedhathach
add rhport to tud_init()
2021-05-18add tuh_inited() and tud_inited()hathach