Amir Hammad
58fec7a17c
Drop need for the set configuration request in dev drivers
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-11 13:31:47 +02:00
Amir Hammad
a75535e52b
core: Simplify device removes
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-11 13:31:47 +02:00
Amir Hammad
4aa69b4eaf
make usbh_packet->data of union type
...
out: const void *
in: void *
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-08 07:54:06 +02:00
Amir Hammad
3493c1c087
fix bmRequestType field - use of defines
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-01 10:36:36 +02:00
Amir Hammad
5615b9c938
hub: fix commented out code and comments
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-08-30 03:55:24 +02:00
Amir Hammad
049b67b492
remove not needed carriage returns in printf
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-08-23 07:15:51 +02:00
Amir Hammad
3e95b389c3
add option to pass data to control writes
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-30 12:24:20 +02:00
Amir Hammad
ac7eae8866
Adjust documentation to fit doxygen
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-09 00:22:22 +02:00
Amir Hammad
4f3a3905c9
rename usbh_hubbed.* to usbh_core.*
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-08 23:53:42 +02:00
Amir Hammad
e61ed66174
refactor: use enum instead of #define: USBH_ENDPOINT_TYPE and USBH_SPEED
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-08 23:22:53 +02:00
Amir Hammad
1566e7012f
hub: Empty packet readings after SET_ and CLEAR_ commands
...
* fixed typo/bug: "hub->state += 2" must have been
"hub->state = 2" to issue empty read
Now, after each SET_ or CLEAR_ command, empty read is issued.
+ removed forward declaration of event() - cleaning
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-07-29 18:18:44 +02:00
Amir Hammad
3003006216
hub: Do not allow unitialized driver to be loaded
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-07-13 16:16:39 +02:00
Amir Hammad
33856ce17c
Global logging: use \n for a new line instead \r\n in LOG_PRINTF
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-07-13 14:54:15 +02:00
Amir Hammad
99f24e9389
hub: Fix forgotten break
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-07-13 14:53:56 +02:00
Amir Hammad
187d01e3b2
Device drivers: Refactor: Remove prefixes of static functions and variables
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-08 08:08:55 +02:00
Amir Hammad
6625cda9f3
Device drivers: Refactor: Move driver declaration to the end of file
...
forward declarations are not needed
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-08 08:08:48 +02:00
Amir Hammad
f86aacc59c
Refactor device drivers: don't use automatic casts
...
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-06 19:52:48 +02:00
Amir Hammad
e35c1e9fc6
poll(): refactor every poll argument t_us and tflp -> time_curr_us
...
added comment to usbh_hubbed.h
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-01 18:29:32 +02:00
Amir Hammad
7acc6fe474
libusbhost: Open source USB host stack for embedded devices
...
First public version, date: 1.4.2015
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-01 16:22:05 +02:00