Libusb
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Libusb

  • 654 views
Uploaded on

Introduction to libusb including API.

Introduction to libusb including API.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
654
On Slideshare
654
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
5
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Introduction to libusbSway Wang2013.05.20
  • 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. Bindings
  • 4. • Port of the USB library to Windows• Version : libusb-0.1• kernel driver : libusb0.sys• user space : libusb0.dlllibusb-win32
  • 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. Open Deviceusb_dev_handle *usb_open(struct *usb_device dev);int usb_close(usb_dev_handle *dev);
  • 7. Bulk Transfers
  • 8. Asynchronous Bulk Transfers
  • 9. Control Transfers
  • 10. Q & A• Thanks for your listening!!