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/algo/launch_control_state.txt
2024-03-05 09:18:31 -08:00
// by class com.rusefi.output.CHeaderConsumer
// begin
# pragma once
# include "rusefi_types.h"
// start of launch_control_state_s
struct launch_control_state_s {
/**
* offset 0
*/
int retardThresholdRpm = ( int ) 0 ;
/**
offset 4 bit 0 */
2024-09-02 09:45:07 -07:00
bool launchActivatePinState : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 1 */
2024-09-02 09:45:07 -07:00
bool isPreLaunchCondition : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 2 */
2024-09-02 09:45:07 -07:00
bool isLaunchCondition : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 3 */
2024-09-02 09:45:07 -07:00
bool isSwitchActivated : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 4 */
2024-09-02 09:45:07 -07:00
bool isClutchActivated : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 5 */
2024-09-02 09:45:07 -07:00
bool isBrakePedalActivated : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 6 */
bool isValidInputPin : 1 { } ;
/**
offset 4 bit 7 */
bool activateSwitchCondition : 1 { } ;
/**
offset 4 bit 8 */
2024-09-02 09:45:07 -07:00
bool rpmLaunchCondition : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 9 */
2024-09-02 09:45:07 -07:00
bool rpmPreLaunchCondition : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 10 */
2024-09-02 09:45:07 -07:00
bool speedCondition : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 11 */
2024-09-02 09:45:07 -07:00
bool tpsCondition : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 12 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_12 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 13 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_13 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 14 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_14 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 15 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_15 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 16 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_16 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 17 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_17 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 18 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_18 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 19 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_19 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 20 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_20 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 21 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_21 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 22 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_22 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 23 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_23 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 24 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_24 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 25 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_25 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 26 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_26 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 27 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_27 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 28 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_28 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 29 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_29 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 30 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_30 : 1 { } ;
2024-03-05 09:18:31 -08:00
/**
offset 4 bit 31 */
2024-09-02 09:45:07 -07:00
bool unusedBit_13_31 : 1 { } ;
2024-03-05 09:18:31 -08:00
} ;
static_assert ( sizeof ( launch_control_state_s ) = = 8 ) ;
// 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/algo/launch_control_state.txt