Commit Graph

186 Commits

Author SHA1 Message Date
PaulStoffregen 6938b46086 Fix compiler warnings 2017-08-24 13:55:11 -07:00
PaulStoffregen 99ec892dd7 Add Mouse driver from wwatson (part 2) 2017-08-24 13:50:03 -07:00
PaulStoffregen 75ac4d21e6 Add Mouse driver from wwatson
https://forum.pjrc.com/threads/45740-USB-Host-Mouse-Driver
2017-08-24 13:41:39 -07:00
PaulStoffregen e345c0360d Add error recovery for async schedule errors & halted pipes 2017-07-02 02:15:43 -07:00
PaulStoffregen 50016717b3 Fix periodic list init when diffent sizes used 2017-03-29 17:33:37 -07:00
PaulStoffregen c70cf5fef6 Update Test example slightly 2017-03-07 07:47:02 -08:00
PaulStoffregen 6bacbaf537 Convert to Arduino library format 2017-03-07 07:40:06 -08:00
PaulStoffregen f3d503259c Add public API for Keyboard driver 2017-03-07 07:22:57 -08:00
PaulStoffregen 650ff7eeec Add public API for MIDI driver 2017-03-07 05:42:29 -08:00
PaulStoffregen 3355eab2a2 Add documentation (in source code comments) 2017-03-06 06:03:07 -08:00
PaulStoffregen 5935deb8ce Device driver constructors compatible with UHS library 2017-03-06 04:36:48 -08:00
PaulStoffregen a805d7552e Add Task function 2017-03-06 04:15:23 -08:00
PaulStoffregen ea75a1c673 Rename header file to USBHost_t36.h 2017-03-05 21:33:29 -08:00
PaulStoffregen be1004e0f4 Disconnect downstream deviecs with hub disconnects 2017-03-05 20:28:41 -08:00
PaulStoffregen b18ee4ea06 Add define to enable/disable all debug printing 2017-03-05 20:18:02 -08:00
PaulStoffregen 0443ab8db6 Device drivers contribute the memory they will require 2017-03-05 15:48:50 -08:00
PaulStoffregen 3d918a3977 Turn off USB keyboard idle reports 2017-03-03 06:13:37 -08:00
PaulStoffregen 98701a268f Handle disconnect device from hub 2017-03-03 06:04:02 -08:00
PaulStoffregen 920f71e768 Fix hub debounce timer port status requests 2017-03-03 05:15:57 -08:00
PaulStoffregen 86c1bbe6ee Add reset-enumeration mutual exclusion 2017-03-03 04:58:10 -08:00
PaulStoffregen 2e1e9748e0 Hub driver (finally) creates devices 2017-03-01 13:29:00 -08:00
PaulStoffregen 05582c91a0 Trim hud driver memory usage 2017-03-01 12:08:47 -08:00
PaulStoffregen ba0e6f495b Do only 1 control transfer at a time to hubs, clear other change status 2017-03-01 11:33:07 -08:00
PaulStoffregen 81f30ecd5f Begin work in hub port state machine & debounce wait 2017-02-28 11:39:59 -08:00
PaulStoffregen d0ee653192 Restructure hub driver to stateless approach 2017-02-28 08:39:43 -08:00
PaulStoffregen edb04e60e7 Fix interrupt pipe bug when running at 480 Mbit/sec 2017-02-28 04:25:51 -08:00
PaulStoffregen 8ee6d28432 Implement driver timers 2017-02-27 04:17:43 -08:00
PaulStoffregen b30d8a4f48 Define timer API for device drivers 2017-02-27 02:22:02 -08:00
PaulStoffregen 430e24ba54 Free transfers and pipe when deleting from periodic schedule 2017-02-26 13:58:41 -08:00
PaulStoffregen fe5cf3e4cd Remove to-be-deleted pipes from periodic schedule 2017-02-26 09:56:37 -08:00
PaulStoffregen 80225dfe22 Add to periodic sched using interval+offset & binary tree 2017-02-26 09:40:49 -08:00
PaulStoffregen 1c5d403aba Clearer bandwidth allocation code & store in Pipe_t 2017-02-26 06:39:32 -08:00
PaulStoffregen 7658caa281 Add ability to remove & free pipes from async schedule 2017-02-25 18:21:44 -08:00
PaulStoffregen b4905f40ef Keep list of pipes to be deleted when device disconnects 2017-02-25 14:43:49 -08:00
PaulStoffregen 7f44715014 Assign unique, auto-incrementing addresses to USB devices 2017-02-25 14:02:42 -08:00
PaulStoffregen 08ed25eb49 Disconnect drivers and free device when cable unplugged 2017-02-25 13:40:31 -08:00
PaulStoffregen af4e4599f4 Begin work on MIDI device driver 2017-02-20 06:33:13 -08:00
PaulStoffregen 656765bac6 All debug printing through USBHost class 2017-02-18 12:03:10 -08:00
PaulStoffregen 57f958c368 Drivers claim interface & add Keyboard driver claim 2017-02-18 11:21:28 -08:00
PaulStoffregen 7756f2f4b7 Begin work on keyboard device driver 2017-02-18 06:09:28 -08:00
PaulStoffregen 4eaeb84a82 Parse hub port status, work-in-progress... 2017-02-17 17:44:24 -08:00
PaulStoffregen 97f728e83c Find (hopefully) best interrupt pipe bandwidth allocation 2017-02-14 04:19:20 -08:00
PaulStoffregen 4b4ce19dc6 Print less debug info, now that EHCI is kinda working 2017-02-13 13:29:52 -08:00
PaulStoffregen ce2fafd18c Minor device driver API simplifications 2017-02-13 13:11:54 -08:00
PaulStoffregen a6352852ed Respond to hub interrupt pipe by read & clear status 2017-02-13 12:56:01 -08:00
PaulStoffregen 2423608e0f Impove handling of non-enumeration control transfers 2017-02-13 12:01:05 -08:00
PaulStoffregen 252b9a2f24 (bare bones) Interrupt transfer support 2017-02-13 06:05:09 -08:00
PaulStoffregen 448910a94f Configurable periodic frame list size 2017-02-13 02:55:24 -08:00
PaulStoffregen 84752f8310 Add data (non-control) transfer function 2017-02-12 18:44:24 -08:00
PaulStoffregen 1b300c9051 Rename transfer functions from "new" to "queue" 2017-02-12 18:00:48 -08:00