SHARE
TWEET

Untitled

a guest Dec 5th, 2012 45 Never
  1. struct usb_ctrlrequest c;
  2. c.bRequestType = USB_DIR_OUT | USB_TYPE_STANDARD | USB_RECIP_DEVICE;
  3. c.bRequest = USB_REQ_SET_CONFIGURATION;
  4. c.wValue = <config value>;
  5. c.wIndex = 0;
  6. c.wLength = 0;
RAW Paste Data
Top