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