fome-fw/firmware/controllers/actuators/ac_control_generated.h

85 lines
1.9 KiB
C
Raw Normal View History

#pragma once
#include "rusefi_types.h"
struct ac_control_s {
2023-03-27 01:38:48 -07:00
// @@INDICATOR_NAME_AC_SWITCH@@
// offset 0 bit 0
2022-07-02 01:21:19 -07:00
bool acButtonState : 1 {};
2023-03-27 01:38:48 -07:00
// AC enabled
// offset 0 bit 1
2022-07-02 01:21:19 -07:00
bool m_acEnabled : 1 {};
2023-03-27 01:38:48 -07:00
// AC engine too slow
// offset 0 bit 2
2021-12-01 21:04:17 -08:00
bool engineTooSlow : 1 {};
2023-03-27 01:38:48 -07:00
// AC engine too fast
// offset 0 bit 3
2021-12-01 21:04:17 -08:00
bool engineTooFast : 1 {};
2023-03-27 01:38:48 -07:00
// AC no CLT
// offset 0 bit 4
2021-12-01 21:04:17 -08:00
bool noClt : 1 {};
2023-03-27 01:38:48 -07:00
// AC engine too hot
// offset 0 bit 5
2021-12-01 21:04:17 -08:00
bool engineTooHot : 1 {};
2023-03-27 01:38:48 -07:00
// AC tps too high
// offset 0 bit 6
2022-07-02 01:21:19 -07:00
bool tpsTooHigh : 1 {};
2023-03-27 01:38:48 -07:00
// AC disabled by Lua
// offset 0 bit 7
2022-05-09 02:42:49 -07:00
bool isDisabledByLua : 1 {};
2023-03-27 01:38:48 -07:00
// AC compressor on
// offset 0 bit 8
2022-08-31 16:10:02 -07:00
bool acCompressorState : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 9
2022-08-31 16:10:02 -07:00
bool unusedBit_9_9 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 10
2022-08-31 16:10:02 -07:00
bool unusedBit_9_10 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 11
2022-08-31 16:10:02 -07:00
bool unusedBit_9_11 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 12
2022-08-31 16:10:02 -07:00
bool unusedBit_9_12 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 13
2022-08-31 16:10:02 -07:00
bool unusedBit_9_13 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 14
2022-08-31 16:10:02 -07:00
bool unusedBit_9_14 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 15
2022-08-31 16:10:02 -07:00
bool unusedBit_9_15 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 16
2022-08-31 16:10:02 -07:00
bool unusedBit_9_16 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 17
2022-08-31 16:10:02 -07:00
bool unusedBit_9_17 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 18
2022-08-31 16:10:02 -07:00
bool unusedBit_9_18 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 19
2022-08-31 16:10:02 -07:00
bool unusedBit_9_19 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 20
2022-08-31 16:10:02 -07:00
bool unusedBit_9_20 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 21
2022-08-31 16:10:02 -07:00
bool unusedBit_9_21 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 22
2022-08-31 16:10:02 -07:00
bool unusedBit_9_22 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 23
2022-08-31 16:10:02 -07:00
bool unusedBit_9_23 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 24
2022-08-31 16:10:02 -07:00
bool unusedBit_9_24 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 25
2022-08-31 16:10:02 -07:00
bool unusedBit_9_25 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 26
2022-08-31 16:10:02 -07:00
bool unusedBit_9_26 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 27
2022-08-31 16:10:02 -07:00
bool unusedBit_9_27 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 28
2022-08-31 16:10:02 -07:00
bool unusedBit_9_28 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 29
2022-08-31 16:10:02 -07:00
bool unusedBit_9_29 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 30
2022-08-31 16:10:02 -07:00
bool unusedBit_9_30 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 31
2022-08-31 16:10:02 -07:00
bool unusedBit_9_31 : 1 {};
2023-03-27 01:38:48 -07:00
// AC latest activity
// offset 4
int latest_usage_ac_control = (int)0;
2023-03-27 01:38:48 -07:00
// offset 8
2022-04-08 18:37:21 -07:00
int acSwitchLastChangeTimeMs = (int)0;
};
2022-04-17 13:30:07 -07:00
static_assert(sizeof(ac_control_s) == 12);