|
OpenHantek
|
#include <QDebug>#include <QTimer>#include <QtCore>#include "hantekdsocontrol.h"#include "mathchannel.h"#include "scopesettings.h"#include "usb/scopedevice.h"Macros | |
| #define | TRANS_TYPE_READ 0xc0 |
| #define | TRANS_TYPE_WRITE 0x40 |
| #define | EEPROM 0xa2 |
Functions | |
| static double | byteToGain (uint8_t gain) |
| static uint8_t | gainToByte (double gain) |
| static double | bytesToOffset (uint8_t offsetRaw, uint8_t offsetFine) |
| static uint8_t | offsetToRaw (double offset) |
| static uint8_t | offsetToFine (double offset) |
| #define EEPROM 0xa2 |
| #define TRANS_TYPE_READ 0xc0 |
| #define TRANS_TYPE_WRITE 0x40 |
|
static |
|
static |
|
static |
|
static |
|
static |