Introduction to libusbSway Wang2013.05.20
• Enable user space application programs tocommunicate with USB devices• Cross platform (Linus, Mac OS)• Version : libusb-...
Bindings
• Port of the USB library to Windows• Version : libusb-0.1• kernel driver : libusb0.sys• user space : libusb0.dlllibusb-wi...
Initialize libusbusb_init: Initialize libusbusb_find_busses: Finds all USB busses on systemusb_find_devices: Find all devi...
Open Deviceusb_dev_handle *usb_open(struct *usb_device dev);int usb_close(usb_dev_handle *dev);
Bulk Transfers
Asynchronous Bulk Transfers
Control Transfers
Q & A• Thanks for your listening!!
Upcoming SlideShare
Loading in...5
×

Libusb

326

Published on

Introduction to libusb including API.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
326
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Libusb

  1. 1. Introduction to libusbSway Wang2013.05.20
  2. 2. • Enable user space application programs tocommunicate with USB devices• Cross platform (Linus, Mac OS)• Version : libusb-1.0 and libusb-0.1• License: LGPLIntroduction libusb
  3. 3. Bindings
  4. 4. • Port of the USB library to Windows• Version : libusb-0.1• kernel driver : libusb0.sys• user space : libusb0.dlllibusb-win32
  5. 5. Initialize libusbusb_init: Initialize libusbusb_find_busses: Finds all USB busses on systemusb_find_devices: Find all devices on all USB devicesusb_get_busses: Return the list of USB busses found
  6. 6. Open Deviceusb_dev_handle *usb_open(struct *usb_device dev);int usb_close(usb_dev_handle *dev);
  7. 7. Bulk Transfers
  8. 8. Asynchronous Bulk Transfers
  9. 9. Control Transfers
  10. 10. Q & A• Thanks for your listening!!

×