TwiceAsNice
2019-02-18
|
Derived fx2 class for the usb filter wheel. More...
#include <FilterWheelIo.h>
Public Member Functions | |
FilterWheelIo (const std::string &DeviceAddr) | |
virtual | ~FilterWheelIo () |
void | Program (const std::string &FilenameFx2, const std::string &FilenameDescriptor) |
uint16_t | GetVendorId () |
uint16_t | GetProductId () |
uint16_t | GetDeviceId () |
std::string | GetUsbFirmwareRev () |
void | ReadCtrlPort (uint8_t &control, uint8_t &pin) |
void | WriteCtrlPort (uint8_t control, uint8_t pin) |
Private Member Functions | |
void | DownloadFirmware () |
void | IncrEepromAddrBlockBank (uint16_t IncrSize, uint16_t &Addr, uint8_t &Bank, uint8_t &Block) |
Private Attributes | |
std::string | m_fileName |
std::shared_ptr< IUsb > | m_Usb |
Derived fx2 class for the usb filter wheel.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright(c) 2010 Apogee Instruments, Inc.
FilterWheelIo::FilterWheelIo | ( | const std::string & | DeviceAddr | ) |
|
virtual |
|
private |
uint16_t FilterWheelIo::GetDeviceId | ( | ) |
uint16_t FilterWheelIo::GetProductId | ( | ) |
std::string FilterWheelIo::GetUsbFirmwareRev | ( | ) |
uint16_t FilterWheelIo::GetVendorId | ( | ) |
|
private |
void FilterWheelIo::Program | ( | const std::string & | FilenameFx2, |
const std::string & | FilenameDescriptor | ||
) |
|
private |
|
private |