summaryrefslogtreecommitdiff
path: root/tinyusb/host/usbh_hcd.h
AgeCommit message (Collapse)Author
2018-06-18rename subfolder source to srchathach
2018-04-10mass rename TUSB_CFG to CFG_TUSBhathach
2018-03-12more renamehathach
2018-03-01clean up osal semaphore/queue/mutexhathach
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-03-24doxygen documentinghathach
2014-03-16doxygen documenthathach
2013-10-16refractor hub apihathach
fix all test build errors
2013-10-01- move disconnection handle to enum task --> move tusbh_xxx_unmount is ↵hathach
invoked in non-isr context
2013-10-01handle unplug the hub itselfhathach
2013-10-01refractor hubhathach
2013-09-30able to mount one device on the hubhathach
2013-07-19add test & code to send rndis msg query for permanent address (MAC address)hathach
2013-07-04no big deal, only rename tusb_std_request_t to tusb_control_request_thathach
2013-07-02update usbh_xfer_isr to take actual byte transferred and correct testshathach
2013-07-01rename usbh_isr to usbh_xfer_isrhathach
2013-06-27add mutex support for osalhathach
add test for mutex in test_osal_none.c implement usbh_control_xfer using mutex to get access to queue xfer on control pipe (while semaphore is used to sync with hcd DMA) failed to issue control xfer: set idle & get report descriptor in hidh_open_subtask (more to work on)
2013-05-09refractor testhathach
try to add travis-ci
2013-05-06change format of file header & license spacinghathach
2013-04-25implement hcd_port_speed_gethathach
move port reset & speed detection from isr context to usbh enumeration task - decrease time in isr significantly from 50 ms to 580us fix bug with osal_task_delay for freeRTOS buil
2013-04-07rename hidh_keyboard_info_t to hidh_interface_info_thathach
rename tusb_bus_event_t to tusb_event_t add test_mouse_init and more stuff for hidh mouse move delay after port reset to only for speed detection prioritize port change interrupt over xfer interrupt - in case of unplugged, current connect change & xfer error both set - xfer error only break to debugger if not because of unplugged fix bug: set dev addr0 state to UNPLUG after close its control pipe in enumeration process
2013-03-26add flag_supported_class to usbh_deviceshathach
remove all ATTR_WEAK in init,open,isr,close driver functions of USBH-CLASS API - prefer testing
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-24add class flagshathach
change keyboard_info_pool to keyboard_data
2013-03-24refractorhathach
- rename usbh_device_info_pool to usbh_devices - create a struct for control pipe in usbh_device_info_t
2013-03-24rename sem_hdl in usbh_device_info_t control_sem_hdlhathach
2013-03-23- add control_pipe_status for usbh_device_info_t to reflect the status ↵hathach
transfer of control pipe - fix bug with hcd_port_reset + remove regs->portsc_bit.port_enable in the wait loop as device unplugged can cause this to always fails - correct the timeout for hcd_controll_stop/reset 16 uframes ~ 2 ms - potentially fix bugs device unplugged when new address is not assigned
2013-03-23change signature usbh_isr to add tusb_bus_event_t parameterhathach
change singature of call_isr as well
2013-03-23refractorhathach
- rename TUSB_DEVICE_STATE_READY to TUSB_DEVICE_STATE_CONFIGURED - move device_state to core/tusb_types.h - remove usbh_device_hcd_data_cleaned_up_cb, hcd now set the state directly
2013-03-23refractorhathach
- rename usbh_device_info_t.status to state - rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_*
2013-03-22add callback for hcd when it cleaned up all cache data for a device ↵hathach
(previously mark as removing).
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-11add semphore reset & queue flush APIhathach
modify test to check control pipe semaphore created with usbh_init
2013-03-10add code for ehci interrupt handlerhathach
- interrupt source identifying - for async list process refractor control_xfer to use insert_qtd_to_qhd - add test for control xfer interrupt processing - add code for faking ehci controller async list scheduling & processing - add prototype for void usbh_isr(pipe_handle_t pipe_hdl, uint8_t class_code);
2013-03-09add class code to hcd_pipe_open to facilitate usb_complete callbackhathach
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-05add test & code for hcd_pipe_control_openhathach
2013-02-28continue to strengthen include policyhathach
2013-02-27add parsing configuration desc & invoke driver install subtaskhathach
2013-02-06refractor move device_addr0 into usbh_device_poolhathach
enum_entry contains speed and enum task will not carry out disconnection clean up
2013-02-06remove hcd_addr0_close_Ignorehathach
add code to check error handling from enum task
2013-02-04rename device_info_pool to usbh_device_info_poolhathach
update enum task to post set address
2013-02-04add TUSB_CFG_HOST_ENUM_BUFFER_SIZEhathach
add enum buffer getting serious with osal_freeRTOS
2013-02-04resolve conflict between usbh & hcdhathach
2013-02-04add usbh_hcd to hold common structure/typedef for usbh and hcdhathach