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,
52  CONTROL_SETTIMEDIV = 0xe2,
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 }
ControlCode
All supported control commands.
Definition: controlcode.h:44
Definition: controlsettings.h:9