#include <usbp.h>
Inheritance diagram for USBP:

Public Member Functions | |
| USBP () | |
| Constructor. | |
| virtual | ~USBP () |
| Destructor. | |
| int | init (int vid, int pid) |
| Init USBP. | |
Data Fields | |
| iUSB_Driver * | UsbD |
| USB Drive Interface (LIBUSB or CyUSB). | |
| iUSB_FPGA * | UsbFpga |
| FPGA Interface. | |
| iUSB_Device * | UsbDevice |
| USB Device interface. | |
| int | iVid |
| int | iPid |
| The initial USB VID and PID. | |
| int | rVid |
| int | rPid |
| After enumeration VID and PID. | |
Definition at line 45 of file usbp.h.
| USBP::USBP | ( | ) | [inline] |
| int USBP::init | ( | int | vid, | |
| int | pid | |||
| ) |
Init USBP.
??? Should this be in the Constructor???
Definition at line 43 of file usbp.cpp.
References iUSB_Driver::deviceOpen(), UPL_ERR, UsbD, UsbDevice, and UsbFpga.
Referenced by USBP_XS3SK::init_usb(), USBP_PBRD_V01::init_usb(), and USBP_PBRD_BLANK::init_usb().
USB Drive Interface (LIBUSB or CyUSB).
Definition at line 53 of file usbp.h.
Referenced by USBP_XS3SK::deviceInfo(), USBP_PBRD_V01::deviceInfo(), USBP_PBRD_BLANK::deviceInfo(), init(), USBP_PBRD_V01::PyReadData(), USBP_PBRD_V01::PyWriteData(), USBP_PBRD_V01::testFPGAXfer(), USBP_PBRD_V01::testFPGAXferSpeed(), USBP_PBRD_V01::testXferLoopback(), USBP(), USBP_PBRD_BLANK::USBP_PBRD_BLANK(), USBP_PBRD_V01::USBP_PBRD_V01(), USBP_XS3SK::USBP_XS3SK(), USBP_PBRD_BLANK::~USBP_PBRD_BLANK(), USBP_PBRD_V01::~USBP_PBRD_V01(), and USBP_XS3SK::~USBP_XS3SK().
FPGA Interface.
Definition at line 54 of file usbp.h.
Referenced by USBP_XS3SK::configFPGA(), USBP_PBRD_V01::configFPGA(), init(), USBP_PBRD_V01::PyReadData(), USBP_PBRD_V01::PyWriteData(), USBP_XS3SK::sendData(), USBP_PBRD_V01::testFPGAXfer(), USBP_PBRD_V01::testFPGAXferSpeed(), USBP_PBRD_V01::testXferLoopback(), USBP(), USBP_PBRD_BLANK::USBP_PBRD_BLANK(), USBP_PBRD_V01::USBP_PBRD_V01(), USBP_XS3SK::USBP_XS3SK(), USBP_PBRD_BLANK::~USBP_PBRD_BLANK(), USBP_PBRD_V01::~USBP_PBRD_V01(), and USBP_XS3SK::~USBP_XS3SK().
USB Device interface.
Definition at line 55 of file usbp.h.
Referenced by init(), USBP_XS3SK::loadFxFirmware(), USBP_PBRD_V01::loadFxFirmware(), USBP_PBRD_BLANK::loadFxFirmware(), USBP(), USBP_PBRD_BLANK::USBP_PBRD_BLANK(), USBP_PBRD_V01::USBP_PBRD_V01(), USBP_XS3SK::USBP_XS3SK(), USBP_PBRD_BLANK::writeVID_PID(), USBP_PBRD_BLANK::~USBP_PBRD_BLANK(), USBP_PBRD_V01::~USBP_PBRD_V01(), and USBP_XS3SK::~USBP_XS3SK().
| int USBP::iVid |
Definition at line 57 of file usbp.h.
Referenced by USBP_XS3SK::init_usb(), USBP_PBRD_V01::init_usb(), USBP_PBRD_BLANK::init_usb(), USBP_PBRD_V01::loadFxFirmware(), USBP_PBRD_BLANK::USBP_PBRD_BLANK(), USBP_PBRD_V01::USBP_PBRD_V01(), and USBP_XS3SK::USBP_XS3SK().
| int USBP::iPid |
The initial USB VID and PID.
Definition at line 57 of file usbp.h.
Referenced by USBP_XS3SK::init_usb(), USBP_PBRD_V01::init_usb(), USBP_PBRD_BLANK::init_usb(), USBP_PBRD_V01::loadFxFirmware(), USBP_PBRD_BLANK::USBP_PBRD_BLANK(), USBP_PBRD_V01::USBP_PBRD_V01(), and USBP_XS3SK::USBP_XS3SK().
| int USBP::rVid |
Definition at line 58 of file usbp.h.
Referenced by USBP_XS3SK::loadFxFirmware(), USBP_PBRD_BLANK::loadFxFirmware(), USBP_PBRD_BLANK::USBP_PBRD_BLANK(), USBP_PBRD_V01::USBP_PBRD_V01(), and USBP_XS3SK::USBP_XS3SK().
| int USBP::rPid |
After enumeration VID and PID.
Definition at line 58 of file usbp.h.
Referenced by USBP_XS3SK::loadFxFirmware(), USBP_PBRD_BLANK::loadFxFirmware(), USBP_PBRD_BLANK::USBP_PBRD_BLANK(), USBP_PBRD_V01::USBP_PBRD_V01(), and USBP_XS3SK::USBP_XS3SK().
1.5.1-p1