Changeset 4ee5272 in mainline for uspace/lib/usb/include/usb/request.h
- Timestamp:
- 2014-01-19T04:45:39Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2be477d5
- Parents:
- 615abda
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/request.h
r615abda r4ee5272 54 54 } usb_stddevreq_t; 55 55 56 /** Standard device features */ 57 typedef enum { 58 USB_FEATURE_ENDPOINT_HALT = 0, 59 USB_FEATURE_DEVICE_REMOTE_WAKEUP = 1, 60 USB_FEATURE_TEST_MODE = 2 61 } usb_std_feature_t; 62 56 63 /** USB device status - device is self powered (opposed to bus powered). */ 57 64 #define USB_DEVICE_STATUS_SELF_POWERED ((uint16_t)(1 << 0)) … … 62 69 /** USB endpoint status - endpoint is halted (stalled). */ 63 70 #define USB_ENDPOINT_STATUS_HALTED ((uint16_t)(1 << 0)) 64 65 /** USB feature selector - endpoint halt (stall). */66 #define USB_FEATURE_SELECTOR_ENDPOINT_HALT (0)67 68 /** USB feature selector - device remote wake-up. */69 #define USB_FEATURE_SELECTOR_REMOTE_WAKEUP (1)70 71 71 72 /** Device request setup packet.
Note:
See TracChangeset
for help on using the changeset viewer.