130 lines
2.6 KiB
C
130 lines
2.6 KiB
C
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/ac_control.txt
|
|
// by class com.rusefi.output.CHeaderConsumer
|
|
// begin
|
|
#pragma once
|
|
#include "rusefi_types.h"
|
|
// start of ac_control_s
|
|
struct ac_control_s {
|
|
/**
|
|
* @@INDICATOR_NAME_AC_SWITCH@@
|
|
* offset 0
|
|
*/
|
|
int8_t acButtonState = (int8_t)0;
|
|
/**
|
|
* need 4 byte alignment
|
|
* units: units
|
|
* offset 1
|
|
*/
|
|
uint8_t alignmentFill_at_1[3] = {};
|
|
/**
|
|
* AC enabled
|
|
offset 4 bit 0 */
|
|
bool m_acEnabled : 1 {};
|
|
/**
|
|
* AC engine too slow
|
|
offset 4 bit 1 */
|
|
bool engineTooSlow : 1 {};
|
|
/**
|
|
* AC engine too fast
|
|
offset 4 bit 2 */
|
|
bool engineTooFast : 1 {};
|
|
/**
|
|
* AC no CLT
|
|
offset 4 bit 3 */
|
|
bool noClt : 1 {};
|
|
/**
|
|
* AC engine too hot
|
|
offset 4 bit 4 */
|
|
bool engineTooHot : 1 {};
|
|
/**
|
|
* AC tps too high
|
|
offset 4 bit 5 */
|
|
bool tpsTooHigh : 1 {};
|
|
/**
|
|
* AC disabled by Lua
|
|
offset 4 bit 6 */
|
|
bool isDisabledByLua : 1 {};
|
|
/**
|
|
* AC compressor on
|
|
offset 4 bit 7 */
|
|
bool acCompressorState : 1 {};
|
|
/**
|
|
* AC pressure too low
|
|
offset 4 bit 8 */
|
|
bool acPressureTooLow : 1 {};
|
|
/**
|
|
* AC pressure too high
|
|
offset 4 bit 9 */
|
|
bool acPressureTooHigh : 1 {};
|
|
/**
|
|
offset 4 bit 10 */
|
|
bool unusedBit_12_10 : 1 {};
|
|
/**
|
|
offset 4 bit 11 */
|
|
bool unusedBit_12_11 : 1 {};
|
|
/**
|
|
offset 4 bit 12 */
|
|
bool unusedBit_12_12 : 1 {};
|
|
/**
|
|
offset 4 bit 13 */
|
|
bool unusedBit_12_13 : 1 {};
|
|
/**
|
|
offset 4 bit 14 */
|
|
bool unusedBit_12_14 : 1 {};
|
|
/**
|
|
offset 4 bit 15 */
|
|
bool unusedBit_12_15 : 1 {};
|
|
/**
|
|
offset 4 bit 16 */
|
|
bool unusedBit_12_16 : 1 {};
|
|
/**
|
|
offset 4 bit 17 */
|
|
bool unusedBit_12_17 : 1 {};
|
|
/**
|
|
offset 4 bit 18 */
|
|
bool unusedBit_12_18 : 1 {};
|
|
/**
|
|
offset 4 bit 19 */
|
|
bool unusedBit_12_19 : 1 {};
|
|
/**
|
|
offset 4 bit 20 */
|
|
bool unusedBit_12_20 : 1 {};
|
|
/**
|
|
offset 4 bit 21 */
|
|
bool unusedBit_12_21 : 1 {};
|
|
/**
|
|
offset 4 bit 22 */
|
|
bool unusedBit_12_22 : 1 {};
|
|
/**
|
|
offset 4 bit 23 */
|
|
bool unusedBit_12_23 : 1 {};
|
|
/**
|
|
offset 4 bit 24 */
|
|
bool unusedBit_12_24 : 1 {};
|
|
/**
|
|
offset 4 bit 25 */
|
|
bool unusedBit_12_25 : 1 {};
|
|
/**
|
|
offset 4 bit 26 */
|
|
bool unusedBit_12_26 : 1 {};
|
|
/**
|
|
offset 4 bit 27 */
|
|
bool unusedBit_12_27 : 1 {};
|
|
/**
|
|
offset 4 bit 28 */
|
|
bool unusedBit_12_28 : 1 {};
|
|
/**
|
|
offset 4 bit 29 */
|
|
bool unusedBit_12_29 : 1 {};
|
|
/**
|
|
offset 4 bit 30 */
|
|
bool unusedBit_12_30 : 1 {};
|
|
/**
|
|
offset 4 bit 31 */
|
|
bool unusedBit_12_31 : 1 {};
|
|
};
|
|
static_assert(sizeof(ac_control_s) == 8);
|
|
|
|
// end
|
|
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/ac_control.txt
|