summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
AgeCommit message (Collapse)Author
2020-10-12add usbh_edpt_claim/releasehathach
implement USBH_EVENT_FUNC_CALL
2020-09-05add in_isr to all hcd event functionshathach
2020-09-03rename tuh_isr/hcd_isr to tuh_int_handler/hcd_int_handlerhathach
2020-05-31fixed EP0 size to 64 since LS is not supported in device modehathach
- set turn-around and report actual speed in Enum Done - add dcd_event_bus_reset() helper to report speed
2020-04-17complete remove dcd_set_config(), fix unit testhathach
2020-04-17mass rename tud/dcd_irq_handler to tud/dcd_init_handlerhathach
2020-04-16Merge pull request #336 from pigrew/edpt_closeHa Thach
> If you notice my chain of events above, the bulk transfer was started BEFORE the SET_INTERFACE call. The USB device hardware swaps the order of them being delivered. On STM32, it gives priority to the lower-numbered EP index. It shouldn't be a matter, control is 2+ stage, before sending the setup. Host should stop all communication to the endpoint that It wants to close.
2020-04-16added dcd disconnect/connect to lpc17/40hathach
2020-04-14Merge branch 'master' into edpt_closeNathan Conrad
2020-04-13edpt_close: Remove item from queue instead of modifying it.Nathan Conrad
2020-04-12Skeleton, and initial stm32fsdev implementation (that leaks memory)Nathan Conrad
2020-04-11Merge branch 'master' into refactor-irqhandlerHa Thach
2020-04-10stm32fsdev: set dcd_connect API definitions to strong, Modify documentation.Nathan Conrad
2020-04-09stm32fsdev: Implement dcd_connect.Nathan Conrad
2020-04-09adding dcd_connect/disconnecthathach
2020-04-06call tud_irq_handler() for all nrf5x boardhathach
2020-04-06mass rename dcd_isr() to dcd_irq_handler()hathach
2020-04-06move irqhandler to applicationhathach
tud_isr() must be called by application to forward the irqhandle to the stack
2020-01-15Normalize line endingsNathan Conrad
2019-11-28add dcd_edpt0_status_complete() which is useful for several mcu porthathach
2019-11-21moving irq to bsp for lpc17/40hathach
2019-11-04fix #211hathach
2019-10-30initally adding test_usbd.chathach
2019-10-30move dcd event helper to be dcd.h as inline functionhathach
2019-10-23adding debug log functionhathach
2019-10-03couldn't get 32L4 running with crystal less modehathach
2019-06-10remove dcd_edpt_busy()hathach
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-29added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()hathach
- improve fifo write/read_n with only one lock - use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver - replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-14update license year to 2019hathach
2019-05-09fix clear stall usage, fix reset data toggle with dcd_clear_stall for nrf52hathach
2019-03-30replaced config_num by configuredhathach
2019-03-30usbd add connected, suspended, remote_wakeuphathach
- remove use of osal_queue_reset
2019-03-29working on suspend and resumehathach
change dcd_init signature
2019-03-29added Suspend and Resume event for nrf5x porthathach
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
2019-03-27replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stallhathach
- remove dcd_edpt_stalled() from dcd porting
2019-03-27remove dcd_get_frame_number()hathach
2019-03-22added stub for dcd_stm32f3hathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2019-03-13dcd_set_address include status response, usbd control stall both control in ↵hathach
and out
2018-12-21change to dcd_get_frame_numberhathach
2018-12-17add dcd_get_microframe()hathach
2018-12-05remove dcd_connect/disconnect since there is no usage nowhathach
2018-11-23rename DCD_XFER_SUCCESS to XFER_RESULT_SUCCESShathach
2018-11-20samd51 fix stable issue with dcdhathach
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-14change osal_queue_receive() signaturehathach
- fix build issue with freertos
2018-11-07Split out the control endpoint logicScott Shawcroft
2018-11-07Add SAMD21 and SAMD51 support for CircuitPython.Scott Shawcroft
The ProtoThreads style subtasks were removed because it led to extremely unclear control flow. RTOSes can be used if threading is needed. Also added some additional functionality to MSC to support dynamic LUNs and read-only LUNs.
2018-10-25add dcd event helper setup_recieved and bus_signalhathach