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_VALUE
= 0xa2,
46
CONTROL_GETSPEED
= 0xb2,
47
CONTROL_BEGINCOMMAND
= 0xb3,
48
CONTROL_SETOFFSET
= 0xb4,
49
CONTROL_SETRELAYS
= 0xb5,
50
CONTROL_SETVOLTDIV_CH1
= 0xe0,
51
CONTROL_SETVOLTDIV_CH2
= 0xe1,
52
CONTROL_SETTIMEDIV
= 0xe2,
53
CONTROL_ACQUIIRE_HARD_DATA
= 0xe3,
54
CONTROL_SETNUMCHANNELS
= 0xe4,
55
CONTROL_SETCOUPLING
= 0xe5,
// DC/AC not possible without hw modification on Hantek 6022, but implemented on Sainsmart DS120
56
CONTROL_SETCALFREQ
= 0xe6
57
};
58
59
}
Hantek::ControlCode
ControlCode
All supported control commands.
Definition:
controlcode.h:44
Hantek::ControlCode::CONTROL_SETRELAYS
Hantek::ControlCode::CONTROL_ACQUIIRE_HARD_DATA
Hantek::ControlCode::CONTROL_SETCOUPLING
Hantek
Definition:
controlsettings.h:9
Hantek::ControlCode::CONTROL_SETTIMEDIV
Hantek::ControlCode::CONTROL_SETVOLTDIV_CH2
Hantek::ControlCode::CONTROL_SETNUMCHANNELS
Hantek::ControlCode::CONTROL_SETVOLTDIV_CH1
Hantek::ControlCode::CONTROL_VALUE
Hantek::ControlCode::CONTROL_GETSPEED
Hantek::ControlCode::CONTROL_SETCALFREQ
Hantek::ControlCode::CONTROL_SETOFFSET
Hantek::ControlCode::CONTROL_BEGINCOMMAND
hantekprotocol
controlcode.h
Generated by
1.8.14