13 Commits

Author SHA1 Message Date
hathach
81780008e9 add cardinality_of function to return number of set bits
refractor tests in ehci
2013-05-11 00:40:21 +07:00
hathach
e401372c05 rename ehci_controller to ehci_controller_fake 2013-05-09 13:05:48 +07:00
hathach
120db28a17 change format of file header & license spacing 2013-05-06 12:50:19 +07:00
hathach
27f860db9f rename hidh_keyboard_info_t to hidh_interface_info_t
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-04-07 05:09:18 +07:00
hathach
d616fa6c10 continue on refratoring 2013-04-05 14:26:28 +07:00
hathach
56cd8be75e change website from tinyusb.net to tinyusb.org 2013-03-25 11:46:30 +07:00
hathach
92c137243d refractor
- rename usbh_device_info_pool to usbh_devices
- create a struct for control pipe in usbh_device_info_t
2013-03-24 16:44:59 +07:00
hathach
44e09cc397 enhance some tests
add test for usbh_isr error invoke
fix bug if device unplugged before is set to new address
- clean up & close control addr0 in usbh_device_unplugged_isr
2013-03-23 17:31:51 +07:00
hathach
4adfc6a6d8 change signature usbh_isr to add tusb_bus_event_t parameter
change singature of call_isr as well
2013-03-23 15:00:56 +07:00
hathach
e6b8166a58 house keeping 2013-03-23 14:27:32 +07:00
hathach
397d62db10 fix bug: adjust all bulk queue head from ehci_data.device 2013-03-22 21:21:00 +07:00
hathach
6b276d09bf house keeping for pipe API test code 2013-03-22 17:45:03 +07:00
hathach
45c94c2aa9 test code clean up 2013-03-22 17:36:59 +07:00