Functions | |
| BOOST_PYTHON_MODULE (USBP) | |
| see usbp_pbrd_v01.h for the definition of USBP_PBRD_V01 | |
| usbp::Python::BOOST_PYTHON_MODULE | ( | USBP | ) |
see usbp_pbrd_v01.h for the definition of USBP_PBRD_V01
The following is exporting the USBP FPGA Prototype board interface to Ptyhon. Will want to reproduce this for each board type.
Export Blank Board Class
< Init the USB Bus
< Load the FX2 Firmware
< Get info about the USB Bus
< Get info about the USB device
< Set the VID and PID
Export the USBP Prototype Board.
Export the Digilent USB Board.
Definition at line 56 of file usbp_boost.cpp.
References USBP_XS3SK::configFPGA(), USBP_PBRD_V01::configFPGA(), USBP_XS3SK::deviceInfo(), USBP_PBRD_V01::deviceInfo(), USBP_PBRD_BLANK::deviceInfo(), USBP_XS3SK::info(), USBP_PBRD_V01::info(), USBP_PBRD_BLANK::info(), USBP_XS3SK::init_usb(), USBP_PBRD_V01::init_usb(), USBP_PBRD_BLANK::init_usb(), USBP_XS3SK::loadFxFirmware(), USBP_PBRD_V01::loadFxFirmware(), USBP_PBRD_BLANK::loadFxFirmware(), USBP_PBRD_V01::PyReadData(), USBP_PBRD_V01::PyWriteData(), USBP_PBRD_V01::ReadReg(), USBP_XS3SK::sendData(), USBP_PBRD_V01::testFPGAXfer(), USBP_PBRD_V01::testFPGAXferSpeed(), USBP_PBRD_V01::testXferLoopback(), USBP_PBRD_V01::WriteReg(), and USBP_PBRD_BLANK::writeVID_PID().
1.5.1-p1