Changeset ecbad17 in mainline for uspace/lib/usbhost/include/usb/host/bandwidth.h
- Timestamp:
- 2018-01-07T17:13:57Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb928c4
- Parents:
- 3dc3f99
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-07 17:12:35)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-07 17:13:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/bandwidth.h
r3dc3f99 recbad17 44 44 #define BANDWIDTH_TOTAL_USB11 (12000000 / 8) 45 45 /** 90% of total bandwidth is available for periodic transfers */ 46 #define BANDWIDTH_AVAILABLE_USB11 ((BANDWIDTH_TOTAL_USB11 / 10) * 9)46 #define BANDWIDTH_AVAILABLE_USB11 ((BANDWIDTH_TOTAL_USB11 * 9) / 10) 47 47 48 //TODO: Implement 49 #define BANDWIDTH_AVAILABLE_USB20 1 48 /** Number of nanoseconds in one microframe */ 49 #define BANDWIDTH_TOTAL_USB20 (125000) 50 /** 90% of total bandwidth is available for periodic transfers */ 51 #define BANDWIDTH_AVAILABLE_USB20 ((BANDWIDTH_TOTAL_USB20 * 9) / 10) 50 52 51 53 typedef struct endpoint endpoint_t;
Note:
See TracChangeset
for help on using the changeset viewer.