summaryrefslogtreecommitdiff
path: root/src/host/usbh.h
AgeCommit message (Collapse)Author
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
2021-01-19RP2040 supportgraham sanderson
2020-11-07clean uphathach
2020-11-02update usbh with hub to use async control transferhathach
work ok with msc + hub, but definitely need more testing.
2020-11-01added host set_config driverhathach
to resolve control conflict with SET_CONFIGURE for class driver - open will be called to open endpoint only - set_config called later to initialized class driver
2020-10-12add usbh_edpt_claim/releasehathach
implement USBH_EVENT_FUNC_CALL
2020-09-07rework usbh control transferhathach
use series of complete callback instead of blocking semaphore, which is more noOS friendly. still working with hid host
2020-09-06change xfer_cb return type from void to boolhathach
2020-09-06replacing hcd_pipe_xfer by usbh_edpt_xferhathach
2020-09-05clean up enum taskhathach
2020-09-05defer xfer_isr to xfer_cbhathach
2020-09-05clean uphathach
2020-09-03rename tuh_isr/hcd_isr to tuh_int_handler/hcd_int_handlerhathach