libusb_get_descriptor ( dev desc_type desc_index data length -- int )


Vocabulary
libusb

Inputs
devan object
desc_typean object
desc_indexan object
dataan object
lengthan object


Outputs
intan object


Definition


:: libusb_get_descriptor
( dev desc_type desc_index data length -- int )
dev LIBUSB_ENDPOINT_IN LIBUSB_REQUEST_GET_DESCRIPTOR
desc_type 8 shift desc_index bitor
0 data length 1000 libusb_control_transfer ; inline