rusefi/firmware/controllers/actuators/ac_control_generated.h

137 lines
2.7 KiB
C
Raw Normal View History

2024-01-03 12:32:11 -08:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/actuators/ac_control.txt Wed Jan 03 20:30:10 UTC 2024
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of ac_control_s
struct ac_control_s {
/**
2022-07-02 01:21:19 -07:00
* @@INDICATOR_NAME_AC_SWITCH@@
2023-08-22 11:21:31 -07:00
* offset 0
*/
int8_t acButtonState = (int8_t)0;
/**
* need 4 byte alignment
2024-01-03 12:32:11 -08:00
* units: units
2023-08-22 11:21:31 -07:00
* offset 1
*/
uint8_t alignmentFill_at_1[3];
2022-07-02 01:21:19 -07:00
/**
* AC enabled
2023-08-22 11:21:31 -07:00
offset 4 bit 0 */
2022-07-02 01:21:19 -07:00
bool m_acEnabled : 1 {};
/**
* AC engine too slow
2023-08-22 11:21:31 -07:00
offset 4 bit 1 */
2021-12-01 21:04:17 -08:00
bool engineTooSlow : 1 {};
/**
2022-07-02 00:55:19 -07:00
* AC engine too fast
2023-08-22 11:21:31 -07:00
offset 4 bit 2 */
2021-12-01 21:04:17 -08:00
bool engineTooFast : 1 {};
/**
2022-07-02 00:55:19 -07:00
* AC no CLT
2023-08-22 11:21:31 -07:00
offset 4 bit 3 */
2021-12-01 21:04:17 -08:00
bool noClt : 1 {};
/**
2022-07-02 00:55:19 -07:00
* AC engine too hot
2023-08-22 11:21:31 -07:00
offset 4 bit 4 */
2021-12-01 21:04:17 -08:00
bool engineTooHot : 1 {};
/**
2022-07-02 00:55:19 -07:00
* AC tps too high
2023-08-22 11:21:31 -07:00
offset 4 bit 5 */
2022-07-02 01:21:19 -07:00
bool tpsTooHigh : 1 {};
/**
2022-07-02 00:55:19 -07:00
* AC disabled by Lua
2023-08-22 11:21:31 -07:00
offset 4 bit 6 */
2022-05-09 02:42:49 -07:00
bool isDisabledByLua : 1 {};
/**
2022-08-31 16:10:02 -07:00
* AC compressor on
2023-08-22 11:21:31 -07:00
offset 4 bit 7 */
2022-08-31 16:10:02 -07:00
bool acCompressorState : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 8 */
bool unusedBit_10_8 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 9 */
bool unusedBit_10_9 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 10 */
bool unusedBit_10_10 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 11 */
bool unusedBit_10_11 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 12 */
bool unusedBit_10_12 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 13 */
bool unusedBit_10_13 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 14 */
bool unusedBit_10_14 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 15 */
bool unusedBit_10_15 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 16 */
bool unusedBit_10_16 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 17 */
bool unusedBit_10_17 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 18 */
bool unusedBit_10_18 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 19 */
bool unusedBit_10_19 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 20 */
bool unusedBit_10_20 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 21 */
bool unusedBit_10_21 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 22 */
bool unusedBit_10_22 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 23 */
bool unusedBit_10_23 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 24 */
bool unusedBit_10_24 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 25 */
bool unusedBit_10_25 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 26 */
bool unusedBit_10_26 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 27 */
bool unusedBit_10_27 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 28 */
bool unusedBit_10_28 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 29 */
bool unusedBit_10_29 : 1 {};
/**
2023-08-22 11:21:31 -07:00
offset 4 bit 30 */
bool unusedBit_10_30 : 1 {};
/**
offset 4 bit 31 */
bool unusedBit_10_31 : 1 {};
/**
2022-07-02 00:55:19 -07:00
* AC latest activity
2023-08-22 11:21:31 -07:00
* offset 8
*/
int latest_usage_ac_control = (int)0;
2022-04-08 18:37:21 -07:00
/**
2023-08-22 11:21:31 -07:00
* offset 12
2022-04-08 18:37:21 -07:00
*/
int acSwitchLastChangeTimeMs = (int)0;
};
2023-08-22 11:21:31 -07:00
static_assert(sizeof(ac_control_s) == 16);
// end
2024-01-03 12:32:11 -08:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/actuators/ac_control.txt Wed Jan 03 20:30:10 UTC 2024