summaryrefslogtreecommitdiff
path: root/tinyusb/host/ehci/ehci.h
AgeCommit message (Collapse)Author
2018-06-18rename subfolder source to srchathach
2018-04-10mass rename TUSB_CFG to CFG_TUSBhathach
2018-03-28rename STATIC_ASSERT to VERIFY_STATIC to avoid name conflict with other codeshathach
2018-03-12more renamehathach
2014-04-18move osal_queue_send of osal_none to osal_none.chathach
2014-04-17move STRING & XSTRING & STATIC_ASSERT to compiler.hhathach
disable test for a class of cdc host temporarily disable test for test_osal_none.c change include in some core files remove osal.h from common.h
2014-04-13merge EHCI_MAX_QHD/QTD and OHCI_MAX_QHD/QTD to HCD_MAX_ENDPOINT/XFER and ↵hathach
scale with number of enabled classes. default config to support up to 5 device (hub + 4 others)
2014-03-24doxygen documentinghathach
2014-03-16doxygen documenthathach
2014-03-04change lpc17xx cmsis file & ohci to be able to build with IARhathach
2013-12-11add structure & define for ohcihathach
2013-11-22clean uphathach
add some doxygen work finalize device disconnection & suspend - suspend & resume & remote wake up is not supported yet
2013-11-06refractor dcd_controller_reset & hcd_controller_reset to hal_controller_resethathach
2013-11-01implement msc device classhathach
usbd auto stall control for not supported return from class control request usbd implement xfer isr callback mechanism DCD - implement dcd multiple qtd support - dcd dcd_pipe_stall - implement dcd_pipe_queue_xfer - xfer_complete_isr - flush control endpoint if received new setup while previous transfer is not complete change msc_cmd_block_wrapper_t flags field to dir force full speed for easy testing NOTEs: somehow unable to get endpoint IN interrupt with ioc
2013-10-27static assert to check OSAL_QUEUE_DEF's queue_depth parameter < 256hathach
enable HOST_HCD_XFER_INTERRUPT by default (previously only enabled with HID), as it is widely used implement tusbh_cdc_is_busy add compilation switch in usbh enumeration for hub rewrite CDC serial application to address usb-serial race condition
2013-10-25more doxygen workhathach
2013-09-27house keepinghathach
2013-09-22added read capacity 10 with hacking codehathach
2013-07-06refractor qhd_xfer_error_isr (omit xfer_type para)hathach
add accumulated total xferred byte for an endpoint until transfer with IOC set - control xfer will have length of data phase in usbh_xfer_isr callback
2013-07-01rename usbh_isr to usbh_xfer_isrhathach
2013-05-06change format of file header & license spacinghathach
2013-04-21separate fake ehci's run async & period listhathach
refractor list_find_previous_item & list_remove_qhd to act on ehci_link_t* instead of ehci_qhd_t* fully support 1ms, 2ms, 4ms, 8ms for period list (each list has a dummy queue head) - change period list structure limit the maximum polling interval to 256 ms add max_loop static MAX number of iteration for list_find_previous_item add test for close 256ms polling interrupt
2013-04-21rename nxp_sof_received to nxp_int_sofhathach
implementing freeRTOS integration change get_period_frame_list from using lst_idx to hostid (fix bug) adding polling interval supported for interrupt: 1ms, 2ms, 4ms, 8ms - add interval_ms to get_period_head function - add bInterval to qhd_init - add support for sub-frame (less than 8 micro frames) interval - add bunch of test for interrupt different intervals
2013-03-27add test for pipe_interrupt_xferhathach
implement keyboard app code - forcefully place keyboard_report in RAM section 3 change used bit in qtd from reserved in buffer[1] to alternate link add code for fake ehci controller runs on period interrupt change signature of tusbh_hid_keyboard_get_report - tusb_keyboard_report_t* to uint8_t* implement period (interrupt) complete isr processing
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-24fix potential bug when insert new queue head to listhathach
2013-03-13add some test for usbh_hcd integrationhathach
- add tests for pipe_close (while TDs are active) - add tests for device unplugged add tesst & implement the async_advance_isr to clean up "REMOVING" queue head - add helper find previous qhd - add remove qhd from async list - add is_removing field for async advance isr to clean up add pipe close for control pipe & bulk pipe (with tests) add helper get qhd from pipe_handle
2013-03-13refractor rename field inactive_next_xact of ehci_qhd_thathach
2013-03-12add semaphore post in usbh_isr for control pipehathach
add osal_queue_send in usbh_device_plugged add macro for placing breakpoint macros fix ehci init: - regs->cmd or (add run_stop) - enable port power in portsc add tusb_task_runner in main loop
2013-03-12add isr api for usbh_hcdhathach
- void usbh_device_plugged_isr(uint8_t hostid, tusb_speed_t speed); - void usbh_device_unplugged_isr(uint8_t hostid); implement port_connect_status_isr
2013-03-12add project file for keilhathach
fix binary.h compiler specific add hal_init code to reset & set usbmode --> able to get USB ISR remove const qualifier from return function of - get_operational_register - get_period_frame_list - get_async_head - get_period_head - get_control_qhd add stub for - hcd_port_connect_status - hcd_port_speed
2013-03-09add class code to hcd_pipe_open to facilitate usb_complete callbackhathach
2013-03-09- fix wrong class code for TUSB_CLASS_APPLICATION_SPECIFIChathach
2013-03-09- addd p_qtd_list_tail to qhd structure for easy queue TDhathach
- move control_request from ehci_data to usbh_device_info_pool - add test for bulk transfer double (2 consecutive xfers) - use table (array) structure for class driver, currently included - refractor extract to function insert_qtd_to_qhd + init function + install_subtask --> all class driver function must be declared with WEAK
2013-03-07add test code & hcd_pipe_xfer for bulk transferhathach
- test cross 4k boundary test for bulk transfer rename p_qtd_list to p_qtd_list_head
2013-03-07make "used" member of ehci_qtd_t into reserved place of buffer[1] (with ↵hathach
assert check in hcd init)
2013-03-07re-layout ehci_data_t to get better memory consumptionhathach
2013-03-06add code & test for hcd_pipe_open interrupthathach
high and non-highspeed
2013-03-06rename fields in ehci_qtd_thathach
2013-03-06refractorhathach
- rename some field in ehci_qhd/qtd_t - code test for open pipe
2013-03-06refractor ehci_data_thathach
separate tests for pipe open & pipe xfer
2013-03-05add test & code for open bulk transfer to hcd_pipe_open()hathach
2013-03-05add test & code for hcd_pipe_control_openhathach
2013-03-04abstract call chains from hal usb isrhathach
2013-03-04allow configure host/device by controller basichathach
- make changes to adapt add mcu_capacity.h
2013-03-04add alignof to compilier specifichathach
add static_assert support for IAR (built-in support)
2013-03-04add test for hcd/host inithathach
- TT control - usb cmd complete hcd/host initialization code
2013-03-03add test for hcd/host init period listhathach
2013-03-03implement hcd_init controller_inithathach
- add test for async list