OpenHantek
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,
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
ControlCode
All supported control commands.
Definition: controlcode.h:46
Definition: controlsettings.h:9