OpenHantek
controlcode.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0+
2
3
#pragma once
4
5
#include <inttypes.h>
6
7
namespace
Hantek
{
8
43
44
enum class
ControlCode
: uint8_t {
45
CONTROL_GETEEPROM
= 0xa2,
46
CONTROL_SETGAIN_CH1
= 0xe0,
47
CONTROL_SETGAIN_CH2
= 0xe1,
48
CONTROL_SETSAMPLERATE
= 0xe2,
49
CONTROL_STARTSAMPLING
= 0xe3,
50
CONTROL_SETNUMCHANNELS
= 0xe4,
51
CONTROL_SETCOUPLING
= 0xe5,
// DC/AC not possible without hw modification on Hantek 6022, but implemented on Sainsmart DS120
52
CONTROL_SETCALFREQ
= 0xe6
53
};
54
55
}
// namespace Hantek
Hantek::ControlCode::CONTROL_SETGAIN_CH2
Hantek::ControlCode
ControlCode
All supported control commands.
Definition:
controlcode.h:44
Hantek::ControlCode::CONTROL_SETCOUPLING
Hantek
Definition:
controlsettings.h:9
Hantek::ControlCode::CONTROL_SETGAIN_CH1
Hantek::ControlCode::CONTROL_SETNUMCHANNELS
Hantek::ControlCode::CONTROL_SETSAMPLERATE
Hantek::ControlCode::CONTROL_STARTSAMPLING
Hantek::ControlCode::CONTROL_SETCALFREQ
Hantek::ControlCode::CONTROL_GETEEPROM
hantekprotocol
controlcode.h
Generated by
1.8.14