![]() |
My Project
A cross-platform user library to access USB devices
|
Library initialization/deinitialization | This page details how to initialize and deinitialize libusb. Initialization must be performed before using any libusb functionality, and similarly you must not call any libusb functions after deinitialization |
Device handling and enumeration | The functionality documented below is designed to help with the following operations: |
Miscellaneous | |
USB descriptors | This page details how to examine the various standard USB descriptors for detected devices |
Device hotplug event notification | This page details how to use the libusb hotplug interface, where available |
Asynchronous device I/O | This page details libusb's asynchronous (non-blocking) API for USB device I/O. This interface is very powerful but is also quite complex - you will need to read this page carefully to understand the necessary considerations and issues surrounding use of this interface. Simplistic applications may wish to consider the synchronous I/O API instead |
Polling and timing | This page documents libusb's functions for polling events and timing. These functions are only necessary for users of the asynchronous API. If you are only using the simpler synchronous API then you do not need to ever call these functions |
Synchronous device I/O | This page documents libusb's synchronous (blocking) API for USB device I/O. This interface is easy to use but has some limitations. More advanced users may wish to consider using the asynchronous I/O API instead |