OpenHantek
Toggle main menu visibility
Loading...
Searching...
No Matches
controlcode.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
3
#pragma once
4
5
#include <inttypes.h>
6
7
namespace
Hantek
{
8
45
46
enum class
ControlCode
: uint8_t {
47
CONTROL_INTERNAL
= 0xa0,
48
CONTROL_EEPROM
= 0xa2,
49
CONTROL_MEMORY
= 0xa3,
50
CONTROL_SETGAIN_CH1
= 0xe0,
51
CONTROL_SETGAIN_CH2
= 0xe1,
52
CONTROL_SETSAMPLERATE
= 0xe2,
53
CONTROL_STARTSAMPLING
= 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
}
// namespace Hantek
Hantek
Definition
controlsettings.h:9
Hantek::ControlCode
ControlCode
All supported control commands.
Definition
controlcode.h:46
Hantek::ControlCode::CONTROL_SETGAIN_CH2
@ CONTROL_SETGAIN_CH2
Definition
controlcode.h:51
Hantek::ControlCode::CONTROL_EEPROM
@ CONTROL_EEPROM
Definition
controlcode.h:48
Hantek::ControlCode::CONTROL_MEMORY
@ CONTROL_MEMORY
Definition
controlcode.h:49
Hantek::ControlCode::CONTROL_SETGAIN_CH1
@ CONTROL_SETGAIN_CH1
Definition
controlcode.h:50
Hantek::ControlCode::CONTROL_STARTSAMPLING
@ CONTROL_STARTSAMPLING
Definition
controlcode.h:53
Hantek::ControlCode::CONTROL_SETNUMCHANNELS
@ CONTROL_SETNUMCHANNELS
Definition
controlcode.h:54
Hantek::ControlCode::CONTROL_SETCOUPLING
@ CONTROL_SETCOUPLING
Definition
controlcode.h:55
Hantek::ControlCode::CONTROL_SETCALFREQ
@ CONTROL_SETCALFREQ
Definition
controlcode.h:56
Hantek::ControlCode::CONTROL_SETSAMPLERATE
@ CONTROL_SETSAMPLERATE
Definition
controlcode.h:52
Hantek::ControlCode::CONTROL_INTERNAL
@ CONTROL_INTERNAL
Definition
controlcode.h:47
hantekprotocol
controlcode.h
Generated by
1.17.0