summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_device.h
AgeCommit message (Collapse)Author
2020-11-23Merge branch 'master' into cdc_without_dtrHa Thach
2020-11-19migrate cdc_device to new control_xfer_cbhathach
2020-11-18Implementation of the discussed changesJan Dümpelmann
- remove usbd_edpt_xfer_abort - rename tu_fifo_change_mode to tu_fifo_set_mode - remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition - remove auto fifo clear at connection event - add tud_cdc_n_write_clear function
2020-11-04Merge remote-tracking branch 'hathach/master' into cdc_without_dtrJan Dümpelmann
2020-09-12typohathach
2020-09-10Set new define because of build failureJan Dümpelmann
2020-08-24improve midihathach
- fix #436 tud_midi_rx_cb() not invoked - fix xfer_cb() not handle ep in - add ZLP if needed
2020-08-21Merge pull request #434 from gh2o/masterHa Thach
Add TX callback to CDC device
2020-08-20Smarter CDC TX refill logicGavin Li
2020-07-17add new name warning to cdc and midi (skip msc, hid warning for now)hathach
2020-07-16add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lunhathach
2020-07-16add tud_speed_get()hathach
- define both fs and hs configuration descriptor - rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-10Improve comment on CDC tud_cdc_write_available()Craig Hutchinson
Fixes #460
2020-06-18Add tx callback to cdc deviceGavin Li
Useful for continuous transmission of data, which is difficult currently because there is no notification of tx completion.
2020-05-27changing usbd driver open() return type, add max_lenhathach
only done with cdc and msc, push this interim for feedback first
2020-04-17fix typohathach
2020-04-17add a bit of document for cdc device API. also improve cdc write flush when ↵hathach
complete.
2020-01-15Normalize line endingsNathan Conrad
2019-09-11fix #132hathach
2019-08-01add vendor peek, change cdc peek signature, change cdc read_char() return ↵hathach
from signed char to int32_t
2019-07-19more house keepinghathach
2019-07-12clean up, rename internal driver control_request_complete to simply ↵hathach
control_complete
2019-07-03tested midi examplehathach
2019-07-02clean uphathach
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-22fix tud_cdc_read_char()/tud_cdc_peek() to return signed charhathach
- depending on compiler option "char" can be intepreted as unsigned char
2019-05-14update license year to 2019hathach
2019-05-01text clean uphathach
2019-04-19move interface descriptor template to usbd.h, update exmaplehathach
2019-04-18wrap up hid device refactorhathach
2019-04-17add interface descriptor templatehathach
2019-03-29working on suspend and resumehathach
change dcd_init signature
2019-03-27add tud_mounted() check in tud_cdc_connected()hathach
mark device as disconnected immed with DCD_EVENT_UNPLUGGED
2019-03-27cleanup, remove the use of _TINY_USB_SOURCE_FILE_hathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2018-12-12change usbd xfer_cb return type to boolhathach
2018-12-12change class driver open return type to boolhathach
2018-12-12rename edpt_dir/number/addr to tu_edpt_*hathach
2018-11-26clean up warningshathach
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-11-16nrf5x: refactor device control transfer.hathach
- make control transfer as part of usbd. Class driver must use usbd_control_ API() instead of dcd_ api. - change the signature of class driver's control_request - allow control request complete to stall in staus stage - move control request parser & handling to usbd.
2018-11-14Merge pull request #7 from tannewt/tinyusb_samdhathach
Add SAMD support and simplify OS_NONE
2018-11-13added tud_cdc_write_str, tu_fifo only use mutex for RTOS confighathach
2018-11-08Polish up control split and treat it more like a normal endpoint.Scott Shawcroft
2018-11-07Split out the control endpoint logicScott Shawcroft
2018-08-30remove CFG_TUD_CDC_FLUSH_ON_SOF optionhathach
2018-07-17forgot to add tud_cdc_read_flush()hathach
2018-07-17revert usbd_control_xfer_st() implementationhathach
enhance cdc with better multiple interfaces support add default ep size for cdc and msc device CFG_TUD_CDC_EPSIZE, CFG_TUD_MSC_EPSIZE
2018-07-14rename tud_cdc_flush() to tud_cdc_write_flush(), add tud_cdc_read_flush()hathach
2018-07-14add device cdc wanted char callback, cdc peekhathach