Commit Graph

39 Commits

Author SHA1 Message Date
hathach
f27486e19a add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new tuh_itf_info_t 2023-03-22 10:00:42 +07:00
hathach
e44e461ce3 add tuh_set_interface 2023-03-21 12:55:52 +07:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
48d4a67ec5 add tuh_cdc_peek() 2022-12-24 01:11:13 +07:00
hathach
f33883c308 add tuh_cdc_get_local_line_coding() 2022-12-22 19:41:39 +07:00
hathach
05c119ce97 cdc host, add set line coding API 2022-12-22 18:28:06 +07:00
hathach
11233e4d3e minor clean up 2022-12-22 11:43:57 +07:00
hathach
9e8ea44925 add tuh_cdc_write_clear, rename read_flush() to read_clear() 2022-12-21 17:49:50 +07:00
hathach
cd9008e5a9 add tuh_cdc_tx_complete_cb() callback 2022-12-21 13:05:45 +07:00
hathach
84a483f5ea add more host cdc API
tuh_cdc_write_available(), tuh_cdc_read_flush(), tuh_cdc_rx_cb()
callback
2022-12-21 12:47:00 +07:00
hathach
854e5222ae finalizing cdc host, has a working read/write
TODO: first character seems not to get echoed. set control line state
seems to failed with LOG < 2
2022-12-21 00:26:46 +07:00
hathach
bd1f7f86ce add common EPSIZE for bulk/iso in full and highspeed
adding cdc host fifo tx/rx
2022-12-16 17:08:37 +07:00
hathach
f62f973956 minor rename 2022-12-16 17:08:37 +07:00
hathach
4f03695084 adding tuh_cdc_mount_cb/tuh_cdc_umount_cb
start adding cdc_app.c to example
2022-12-16 17:08:37 +07:00
hathach
55428d7dd2 rename tuh_control_xfer_t to tuh_xfer_t 2022-03-17 20:52:16 +07:00
hathach
bcdeb386cc rework usbh control xfer
- 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-11 21:57:55 +07:00
hathach
22a5b1608c change host driver open return type to bool
the descriptor len used by driver will be calculated by usbh
2021-08-20 19:31:38 +07:00
hathach
5811122cfd change usbh open driver to have max_len and return driver len 2021-06-28 17:39:57 +07:00
hathach
9ad6fadf6a more include clean up 2021-05-27 18:34:07 +07:00
hathach
14461beffa remove legacy blocking usbh_control_xfer()
reworking cdc host driver
2020-11-02 09:19:34 +07:00
hathach
b3e81673c0 change xfer_cb return type from void to bool 2020-09-06 12:11:07 +07:00
hathach
f7cf8cdf27 defer xfer_isr to xfer_cb 2020-09-05 14:41:31 +07:00
Nathan Conrad
25c1bea782 Normalize line endings 2020-01-15 14:47:43 -05:00
hathach
61ec407752 update license year to 2019 2019-05-14 11:48:05 +07:00
hathach
da452d4ba6 cleanup, remove the use of _TINY_USB_SOURCE_FILE_ 2019-03-27 17:48:42 +07:00
hathach
c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach
212deaf2f8 usbh name change 2018-12-10 22:19:01 +07:00
hathach
9c3c782b64 host msc built but got hardfault with inquiry command 2018-12-10 22:11:02 +07:00
hathach
4e7596ca9c add tuh_mount_cb/tuh_umount_cb 2018-12-10 19:25:57 +07:00
hathach
9c4c797502 add ep addr to host cdc 2018-12-10 19:01:28 +07:00
hathach
a486da33ee usbh clean up 2018-12-10 05:55:02 +07:00
hathach
a31f83dbb0 removing pipe handle 2018-12-10 05:44:08 +07:00
hathach
05913a7350 change usbh class driver open signature 2018-12-09 12:34:05 +07:00
hathach
e6e3679136 simple cdc host demo work 2018-12-07 17:37:54 +07:00
hathach
07c3fd5e1e clean up hub 2018-12-06 22:47:49 +07:00
hathach
a619ff88a3 rename xfer complete enum 2018-11-23 15:17:43 +07:00
hathach
cb8782e5f2 rename tusb_event_t to xfer_result_t 2018-11-23 15:14:47 +07:00
hathach
60d8cde695 rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTION 2018-11-22 17:21:07 +07:00
hathach
424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00