#include <usbp_iusb_device.h>
Inheritance diagram for iUSB_Device:

Public Member Functions | |
| virtual void | setUSB (iUSB_Driver *ud)=0 |
| virtual int | downloadFirmware (string file, int vid, int pid)=0 |
| virtual int | LED (int led, bool on_off)=0 |
| virtual int | i2c_write (byte addr, byte *b, byte len)=0 |
Each USB controller type will need the pointer to the current USBDevice (current driver).
Every implementation will need a pointer to the current USB interface that will be passed through the constructor Example: private: USBP_USB *Usbd; ///< Pointer to the USB interface public: fx2lp8051(USBDevice *ud){ Usbd = ud; }
Definition at line 60 of file usbp_iusb_device.h.
| virtual void iUSB_Device::setUSB | ( | iUSB_Driver * | ud | ) | [pure virtual] |
Implemented in FX2LP_8051.
Referenced by USBP_PBRD_BLANK::USBP_PBRD_BLANK(), USBP_PBRD_V01::USBP_PBRD_V01(), and USBP_XS3SK::USBP_XS3SK().
| virtual int iUSB_Device::downloadFirmware | ( | string | file, | |
| int | vid, | |||
| int | pid | |||
| ) | [pure virtual] |
Implemented in FX2LP_8051.
Referenced by USBP_XS3SK::loadFxFirmware(), USBP_PBRD_V01::loadFxFirmware(), and USBP_PBRD_BLANK::loadFxFirmware().
| virtual int iUSB_Device::LED | ( | int | led, | |
| bool | on_off | |||
| ) | [pure virtual] |
Implemented in FX2LP_8051.
1.5.1-p1