IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
| Source at commit 8c574484b889c7b17d2ba4b6929947050f87d91e created 6 years 3 months ago. By Josef Filzmaier, atusb/fw: Introduce DEBUG flag | |
|---|---|
| 1 | /* |
| 2 | * lib/usbopen.h - Common USB device lookup and open code |
| 3 | * |
| 4 | * Written 2008-2011 by Werner Almesberger |
| 5 | * Copyright 2008-2011 Werner Almesberger |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | */ |
| 12 | |
| 13 | |
| 14 | #ifndef USB_OPEN_H |
| 15 | #define USB_OPEN_H |
| 16 | |
| 17 | #include <stdint.h> |
| 18 | #include <usb.h> |
| 19 | |
| 20 | |
| 21 | usb_dev_handle *open_usb(uint16_t default_vendor, uint16_t default_product); |
| 22 | void usb_rescan(void); |
| 23 | void parse_usb_id(const char *id); |
| 24 | void restrict_usb_path(const char *path); |
| 25 | void usb_unrestrict(void); |
| 26 | |
| 27 | #endif /* !USB_OPEN_H */ |
| 28 | |
