summaryrefslogtreecommitdiff
path: root/tinyusb/host/usbh.h
AgeCommit message (Collapse)Author
2018-06-18rename subfolder source to srchathach
2018-03-23shorten descriptor typehathach
2018-03-01clean up osal semaphore/queue/mutexhathach
2015-05-01tusbh_device_ to tuh_device_hathach
2014-03-25more doxygen stuffshathach
2014-03-24doxygenhathach
2014-03-24doxygen documentinghathach
2014-03-19change OSAL_TASK_FUNCTION to adapt with cmsis rtxhathach
2014-03-16doxygen documenthathach
2014-03-14more warnings clean uphathach
2013-09-19starting to add support for IAR workbenchhathach
2013-07-19add implementation forhathach
- tusbh_cdc_rndis_is_mounted - tusbh_cdc_rndis_get_mac_addr
2013-07-05change usbh_control_xfer_subtask to use flat API instead of passing ↵hathach
tusb_control_request_t struct
2013-07-04no big deal, only rename tusb_std_request_t to tusb_control_request_thathach
2013-07-03replace tusbh_cdc_isr by tusbh_cdc_xfer_isr with extra parameter ashathach
- pipe id - xferred_bytes host_class_driver_t add xferred_bytes parameter void (* const isr) (pipe_handle_t, tusb_event_t); --> void (* const isr) (pipe_handle_t, tusb_event_t, uint32_t); update hid_host & its tests
2013-06-27add set idle request for hidh_open_subtaskhathach
add interface number to hidh_interface_info_t refractor hidh_open_subtask to be a true subtask cannot run with set idle code ON because of semaphore misuse
2013-06-21add api for hcd: hcd_pipe_is_idlehathach
add api for usbh: tusbh_device_get_mounted_class_flag implement api for custom class - is mounted - read
2013-05-23- move CMSIS & driver lib for lpc13u to codebase bsp/lpc13xxhathach
- change descriptor.c/h able to build device example
2013-05-06change format of file header & license spacinghathach
2013-04-24- change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with ↵hathach
most popular RTOS) - add new error enum TUSB_ERROR_OSAL_TASK_CREATE_FAILED - move usbh_enumeration_task prototype to usbh.h - change OSAL_SUBTASK_INVOKED_AND_WAIT behavior, will not "return" in calling task when subtask got error status. calling task need to do that after the call - osal_queue_receive signature from uint32_t* to void* - implement osal_freertos.h for FreeRTOS 7.3 --> able to compile & build host_freertos + OSAL_TASK_FUNCTION + turn on FPU for M4 in both host_os_none & host_freertos (freertos requires FPU to be on to compile) + osal_task_create + OSAL_SUBTASK_INVOKED_AND_WAIT + SUBTASK_ASSERT + osal_semaphore_reset + osal_queue_flush + adding heap_1.c for memory management
2013-04-09add tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete ↵hathach
& error event
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-26rename pipe_status_t to tusb_interface_status_thathach
add tusbh_hid_keyboard_status & test code
2013-03-26- put ATTR_UNUSED to hardfault handler variables to discard compiler warninghathach
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-24refractor hidh keyboardhathach
changing class hidh behavior
2013-03-24add class flagshathach
change keyboard_info_pool to keyboard_data
2013-03-24refractorhathach
- rename tusbh_device_status_get to tusbh_device_get_state - replace tusbh_device_status_t by tusb_device_state_t
2013-03-24clean up:hathach
- refractor tusb_handle_device_t device_hdl to uint8_t dev_addr add keyboard_app.c/h
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-23clean uphathach
2013-03-13house keepinghathach
2013-03-13add hard fault handler to bsp.chathach
rename class_install_subtask to class_open_subtask add class_close for unmount adding code for usbh_device_unplugged_isr & invoke it in hcd_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-10add isr empty function for hidh and msch and usbhhathach
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-02-28continue to strengthen include policyhathach
2013-02-27house keepinghathach
- correct initialization call sequence - move hcd_init to ehci.c
2013-02-27rename tusbh_device_mount_succeed_cbhathach
add set configure and tusbh_device_mount_succeed_cb invocation refractor get_configure_number_for_device
2013-02-27add parsing configuration desc & invoke driver install subtaskhathach
2013-02-26add osal subtask supporthathach
add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
2013-02-06update enumeration up to get full configuration descriptorhathach
2013-02-06refractor move test enum to its own filehathach
add assert with handler add task assert with error catcher
2013-02-04rename device_info_pool to usbh_device_info_poolhathach
update enum task to post set address
2013-02-04complete define osal_freeRTOS for semaphore and queuehathach
2013-02-04resolve conflict between usbh & hcdhathach
2013-02-04add usbh_hcd to hold common structure/typedef for usbh and hcdhathach