Lines Matching defs:usb_constants
15 import usb_constants
27 idVendor=usb_constants.VendorID.GOOGLE,
28 idProduct=usb_constants.ProductID.GOOGLE_ECHO_GADGET,
40 bInterfaceClass=usb_constants.DeviceClass.VENDOR,
47 bmAttributes=usb_constants.TransferType.INTERRUPT,
53 bmAttributes=usb_constants.TransferType.INTERRUPT,
61 bInterfaceClass=usb_constants.DeviceClass.VENDOR,
68 bmAttributes=usb_constants.TransferType.BULK,
74 bmAttributes=usb_constants.TransferType.BULK,
82 bInterfaceClass=usb_constants.DeviceClass.VENDOR,
90 bInterfaceClass=usb_constants.DeviceClass.VENDOR,
97 bmAttributes=usb_constants.TransferType.ISOCHRONOUS,
103 bmAttributes=usb_constants.TransferType.ISOCHRONOUS,
115 bInterfaceClass=usb_constants.DeviceClass.VENDOR,
122 bmAttributes=usb_constants.TransferType.INTERRUPT,
128 bmAttributes=usb_constants.TransferType.INTERRUPT,
136 bInterfaceClass=usb_constants.DeviceClass.VENDOR,
143 bmAttributes=usb_constants.TransferType.BULK,
149 bmAttributes=usb_constants.TransferType.BULK,
157 bInterfaceClass=usb_constants.DeviceClass.VENDOR,
165 bInterfaceClass=usb_constants.DeviceClass.VENDOR,
172 bmAttributes=usb_constants.TransferType.ISOCHRONOUS,
178 bmAttributes=usb_constants.TransferType.ISOCHRONOUS,
200 assert endpoint & usb_constants.Dir.IN == 0
202 self.SendPacket(endpoint | usb_constants.Dir.IN, data)