Next: Compatibility Wrappers
Up: USB Transfers
Previous: URB Functions
  Contents
  Index
To initialize URB structures for different transfer types there exist some
macros:
- FILL_CONTROL_URB(purb, dev, pipe, setup_packet, transfer_buffer,
transfer_buffer_length, complete, context);
- FILL_BULK_URB(purb, dev, pipe, transfer_buffer,
transfer_buffer_length, complete, context);
- FILL_INT_URB(purb, dev, pipe, transfer_buffer,
transfer_buffer_length, complete, context, interval);
- FILL_CONTROL_URB_TO();
- FILL_BULK_URB_TO();
The macros are self explaining - more documentation can be found in the
include file usb.h.
Detlef Fliegl
2001-01-08