2024-09-02 09:45:07 -07:00
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/ac_control.txt
2024-03-05 09:18:31 -08:00
// 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 { } ;
/**
2024-09-02 09:45:07 -07:00
* AC pressure too low
2024-03-05 09:18:31 -08:00
offset 4 bit 8 */
2024-09-02 09:45:07 -07:00
bool acPressureTooLow : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
2024-09-02 09:45:07 -07:00
* AC pressure too high
2024-03-05 09:18:31 -08:00
offset 4 bit 9 */
2024-09-02 09:45:07 -07:00
bool acPressureTooHigh : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 10 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_10 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 11 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_11 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 12 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_12 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 13 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_13 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 14 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_14 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 15 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_15 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 16 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_16 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 17 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_17 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 18 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_18 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 19 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_19 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 20 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_20 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 21 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_21 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 22 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_22 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 23 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_23 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 24 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_24 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 25 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_25 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 26 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_26 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 27 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_27 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 28 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_28 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 29 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_29 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 30 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_30 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 31 */
2024-09-02 09:45:07 -07:00
bool unusedBit_12_31 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
* offset 8
*/
int acSwitchLastChangeTimeMs = ( int ) 0 ;
} ;
2024-09-02 09:45:07 -07:00
static_assert ( sizeof ( ac_control_s ) = = 12 ) ;
2024-03-05 09:18:31 -08:00
// end
2024-09-02 09:45:07 -07:00
// this section was generated automatically by rusEFI tool config_definition_base-all.jar based on (unknown script) controllers/actuators/ac_control.txt