最終更新:2014-04-26 (土) 05:29:04 (3646d)  

libusb_fill_control_setup
Top / libusb_fill_control_setup

helper function to populate the setup packet (first 8 bytes of the data buffer) for a control transfer.

static void libusb_fill_control_setup	(	unsigned char * 	buffer,
uint8_t 	bmRequestType,
uint8_t 	bRequest,
uint16_t 	wValue,
uint16_t 	wIndex,
uint16_t 	wLength 
)