21#ifndef ALICAT_BASIS2_KCONFIG_HPP
22#define ALICAT_BASIS2_KCONFIG_HPP
25#if __has_include("sdkconfig.h")
32#ifndef CONFIG_ALICAT_BASIS2_PROCESSING_MS
34#define CONFIG_ALICAT_BASIS2_PROCESSING_MS 50
36#ifndef CONFIG_ALICAT_BASIS2_SLOW_COMMAND_MS
39#define CONFIG_ALICAT_BASIS2_SLOW_COMMAND_MS 1000
41#ifndef CONFIG_ALICAT_BASIS2_READ_RETRIES
43#define CONFIG_ALICAT_BASIS2_READ_RETRIES 1
50 "ALICAT_BASIS2_PROCESSING_MS must be 1 to 1000");
54 "ALICAT_BASIS2_SLOW_COMMAND_MS must be at least the processing time and at most 10000");
56 "ALICAT_BASIS2_READ_RETRIES must be 0 to 3");
64#ifdef CONFIG_ALICAT_BASIS2_MODBUS
67#ifdef CONFIG_ALICAT_BASIS2_BAUD_4800
69#elif defined(CONFIG_ALICAT_BASIS2_BAUD_9600)
71#elif defined(CONFIG_ALICAT_BASIS2_BAUD_19200)
73#elif defined(CONFIG_ALICAT_BASIS2_BAUD_57600)
75#elif defined(CONFIG_ALICAT_BASIS2_BAUD_115200)
#define CONFIG_ALICAT_BASIS2_SLOW_COMMAND_MS
Definition alicat_basis2_kconfig.hpp:39
#define CONFIG_ALICAT_BASIS2_PROCESSING_MS
Definition alicat_basis2_kconfig.hpp:34
#define CONFIG_ALICAT_BASIS2_READ_RETRIES
Definition alicat_basis2_kconfig.hpp:43
Public types of the ALICAT_BASIS2 driver: errors, Result<T>, configuration, enumerations and the valu...
@ ModbusRtu
Modbus RTU, functions 3, 6 and 16 (M p.18 to 27).
The ALICAT_BASIS2 driver: everything it declares lives here; internals in detail.
Definition alicat_basis2.hpp:39
constexpr Config KconfigDefaults() noexcept
The configuration menuconfig selected, on top of the datasheet defaults.
Definition alicat_basis2_kconfig.hpp:62
The driver's configuration. Every default is the instrument's factory value or a documented driver ch...
Definition alicat_basis2_types.hpp:279
Protocol protocol
The protocol this object speaks.
Definition alicat_basis2_types.hpp:283