Changeset 56257ba in mainline for uspace/lib/usbhost/include/usb/host/endpoint.h
- Timestamp:
- 2018-01-07T01:01:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63431db
- Parents:
- 9efad54
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-07 01:01:41)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-07 01:01:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/endpoint.h
r9efad54 r56257ba 62 62 /** Reserved bandwidth. */ 63 63 size_t bandwidth; 64 /** Value of the toggle bit. */64 /** Value of the toggle bit. Untouched by the library. */ 65 65 unsigned toggle:1; 66 66 /** The currently active transfer batch. Write using methods, read under guard. */ … … 107 107 void endpoint_abort(endpoint_t *); 108 108 109 /* Manage the toggle bit */110 extern int endpoint_toggle_get(endpoint_t *);111 extern void endpoint_toggle_set(endpoint_t *, bool);112 113 109 /* Calculate bandwidth */ 114 110 ssize_t endpoint_count_bw(endpoint_t *, size_t);
Note:
See TracChangeset
for help on using the changeset viewer.