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