Rene Buergel | cc183e2 | 2012-09-18 09:00:41 +0200 | [diff] [blame] | 1 | #ifndef __EZUSB_H |
| 2 | #define __EZUSB_H |
| 3 | |
| 4 | |
| 5 | extern int ezusb_writememory(struct usb_device *dev, int address, |
| 6 | unsigned char *data, int length, __u8 bRequest); |
| 7 | |
| 8 | extern int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit); |
| 9 | extern int ezusb_fx2_set_reset(struct usb_device *dev, unsigned char reset_bit); |
| 10 | |
| 11 | extern int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, |
| 12 | const char *firmware_path); |
| 13 | extern int ezusb_fx2_ihex_firmware_download(struct usb_device *dev, |
| 14 | const char *firmware_path); |
| 15 | |
| 16 | #endif /* __EZUSB_H */ |