rusefi/firmware/controllers/engine_cycle/high_pressure_fuel_pump_gen...

141 lines
2.9 KiB
C
Raw Normal View History

2024-01-03 12:32:11 -08:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/engine_cycle/high_pressure_fuel_pump.txt Wed Jan 03 20:30:10 UTC 2024
2021-12-31 00:08:21 -08:00
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of high_pressure_fuel_pump_s
struct high_pressure_fuel_pump_s {
/**
2023-03-05 20:16:07 -08:00
* GDI: HPFP duration
2021-12-31 12:28:24 -08:00
* Computed requested pump duration in degrees (not including deadtime)
2021-12-31 00:08:21 -08:00
* offset 0
*/
angle_t m_requested_pump = (angle_t)0;
/**
2023-03-05 20:16:07 -08:00
* "GDI: requested_percent"
2021-12-31 00:08:21 -08:00
* offset 4
*/
float fuel_requested_percent = (float)0;
/**
2023-03-05 20:16:07 -08:00
* "GDI: percent_pi"
2021-12-31 00:08:21 -08:00
* offset 8
*/
float fuel_requested_percent_pi = (float)0;
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 0 */
2022-01-17 21:27:20 -08:00
bool noValve : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 1 */
bool angleAboveMin : 1 {};
/**
offset 12 bit 2 */
2022-01-18 17:57:06 -08:00
bool isHpfpInactive : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 3 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_3 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 4 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_4 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 5 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_5 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 6 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_6 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 7 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_7 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 8 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_8 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 9 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_9 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 10 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_10 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 11 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_11 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 12 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_12 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 13 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_13 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 14 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_14 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 15 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_15 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 16 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_16 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 17 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_17 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 18 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_18 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 19 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_19 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 20 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_20 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 21 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_21 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 22 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_22 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 23 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_23 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 24 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_24 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 25 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_25 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 26 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_26 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 27 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_27 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 28 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_28 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 29 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_29 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 30 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_30 : 1 {};
2022-01-17 21:10:57 -08:00
/**
offset 12 bit 31 */
2022-01-18 07:16:47 -08:00
bool unusedBit_6_31 : 1 {};
2022-01-17 21:27:20 -08:00
/**
2023-03-05 20:16:07 -08:00
* "GDI: target pressure"
2022-01-17 21:27:20 -08:00
* offset 16
*/
2023-03-05 20:16:07 -08:00
float m_pressureTarget_kPa = (float)0;
/**
* "GDI: nextLobe"
* offset 20
*/
2022-01-17 21:27:20 -08:00
angle_t nextLobe = (angle_t)0;
/**
2023-03-05 20:16:07 -08:00
* GDI: next start
2024-01-03 12:32:11 -08:00
* units: v
2023-03-05 20:16:07 -08:00
* offset 24
2022-01-17 21:27:20 -08:00
*/
float di_nextStart = (float)0;
2021-12-31 00:08:21 -08:00
};
2023-03-05 20:16:07 -08:00
static_assert(sizeof(high_pressure_fuel_pump_s) == 28);
2021-12-31 00:08:21 -08:00
// end
2024-01-03 12:32:11 -08:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/engine_cycle/high_pressure_fuel_pump.txt Wed Jan 03 20:30:10 UTC 2024