Files
MSE-SoftwEng/TSM_PicoW_Sensor/McuLib/Modbus/McuHeidelberg_config.h
SylvanArnold 6cd510e749 feat: added PicoW_Sensor code template
Credits to @ext-erich.styger that provided the template
2025-05-06 13:07:01 +00:00

41 lines
1.3 KiB
C

/*
* Copyright (c) 2022, Erich Styger
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef MODBUS_MCUHEIDELBERG_CONFIG_H_
#define MODBUS_MCUHEIDELBERG_CONFIG_H_
#ifndef McuHeidelberg_CONFIG_USE_MOCK_WALLBOX
#define McuHeidelberg_CONFIG_USE_MOCK_WALLBOX (0)
/*!< if using testing mocks for wallbox state and phase values instead of real state. Note this cannot be used with a real vehicle! */
#endif
#ifndef McuHeidelberg_CONFIG_USE_MOCK_SOLAR
#define McuHeidelberg_CONFIG_USE_MOCK_SOLAR (0)
/*!< if using testing mocks for solar and site power instead of real power */
#endif
#ifndef McuHeidelberg_CONFIG_USE_WATCHDOG
#define McuHeidelberg_CONFIG_USE_WATCHDOG (0)
/*!< if using MCU watchdog functionality */
#endif
#ifndef McuHeidelberg_CONFIG_HYSTERESIS_POWER
#define McuHeidelberg_CONFIG_HYSTERESIS_POWER (150)
/*! Use this value as hysteresis */
#endif
#ifndef McuHeidelberg_CONFIG_BASE_SITE_POWER
#define McuHeidelberg_CONFIG_BASE_SITE_POWER (250)
/*! Use this value as the site base power */
#endif
#ifndef McuHeidelberg_CONFIG_DEFAULT_CHARGING_MODE
#define McuHeidelberg_CONFIG_DEFAULT_CHARGING_MODE McuHeidelberg_User_ChargingMode_SlowPlusPV
/*!< one of McuHeidelberg_UserChargingMode_e, used at startup */
#endif
#endif /* MODBUS_MCUHEIDELBERG_CONFIG_H_ */