Skip to content

Commit

Permalink
types: add Standard Feature Selectors
Browse files Browse the repository at this point in the history
per [USB 2.0: Table 9-6]
  • Loading branch information
miek committed Jun 12, 2024
1 parent 6fc5008 commit a9eaed1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usb_protocol/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,3 +621,8 @@ class USBStandardRequests(IntEnum):
SET_INTERFACE_DS = 23
SET_SEL = 48
SET_ISOCH_DELAY = 49

class USBStandardFeatures(IntEnum):
ENDPOINT_HALT = 0
DEVICE_REMOTE_WAKEUP = 1
TEST_MODE = 2

0 comments on commit a9eaed1

Please sign in to comment.