rusefi/firmware/controllers/actuators/boost_control_generated.h

157 lines
3.1 KiB
C
Raw Normal View History

2023-10-19 17:47:00 -07:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/actuators/boost_control.txt Fri Oct 20 00:44:15 UTC 2023
2021-11-23 12:02:03 -08:00
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of boost_control_s
struct boost_control_s {
/**
offset 0 bit 0 */
2022-01-01 22:17:22 -08:00
bool isTpsInvalid : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 1 */
bool m_shouldResetPid : 1 {};
/**
offset 0 bit 2 */
2021-11-23 12:49:55 -08:00
bool isBelowClosedLoopThreshold : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 3 */
2021-11-24 10:08:24 -08:00
bool isNotClosedLoop : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 4 */
2022-01-01 22:17:22 -08:00
bool isZeroRpm : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 5 */
2023-01-16 12:37:55 -08:00
bool hasInitBoost : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 6 */
2023-01-16 17:57:05 -08:00
bool rpmTooLow : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 7 */
2023-01-16 17:57:05 -08:00
bool tpsTooLow : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 8 */
2023-01-16 17:57:05 -08:00
bool mapTooLow : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 9 */
2023-10-19 17:47:00 -07:00
bool isPlantValid : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 10 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_10 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 11 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_11 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 12 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_12 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 13 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_13 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 14 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_14 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 15 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_15 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 16 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_16 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 17 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_17 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 18 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_18 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 19 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_19 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 20 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_20 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 21 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_21 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 22 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_22 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 23 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_23 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 24 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_24 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 25 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_25 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 26 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_26 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 27 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_27 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 28 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_28 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 29 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_29 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 30 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_30 : 1 {};
2021-11-23 12:02:03 -08:00
/**
offset 0 bit 31 */
2023-10-19 17:47:00 -07:00
bool unusedBit_10_31 : 1 {};
2021-11-23 12:02:03 -08:00
/**
2023-05-04 17:38:45 -07:00
* "Boost: Lua target add"
2023-01-16 13:31:45 -08:00
v
2021-11-23 12:02:03 -08:00
* offset 4
*/
2023-01-16 13:31:45 -08:00
scaled_channel<int16_t, 2, 1> luaTargetAdd = (int16_t)0;
/**
2023-05-04 15:44:35 -07:00
* @@GAUGE_NAME_BOOST_OUTPUT@@
2023-01-16 17:57:05 -08:00
percent
2023-01-16 13:31:45 -08:00
* offset 6
*/
2023-01-16 17:57:05 -08:00
scaled_channel<int16_t, 100, 1> boostOutput = (int16_t)0;
/**
2023-05-04 17:38:45 -07:00
* "Boost: Lua target mult"
2023-01-16 20:04:05 -08:00
v
* offset 8
*/
2022-07-14 06:57:47 -07:00
float luaTargetMult = (float)0;
/**
2023-05-04 15:44:35 -07:00
* @@GAUGE_NAME_BOOST_OPEN_LOOP@@
2023-01-16 20:04:05 -08:00
v
* offset 12
*/
2021-11-23 12:02:03 -08:00
float openLoopPart = (float)0;
2022-12-19 08:58:49 -08:00
/**
2023-05-04 17:38:45 -07:00
* "Boost: Lua open loop add"
2023-01-16 20:04:05 -08:00
v
2022-12-19 08:58:49 -08:00
* offset 16
*/
float luaOpenLoopAdd = (float)0;
2021-11-23 12:02:03 -08:00
/**
* @@GAUGE_NAME_BOOST_CLOSED_LOOP@@
%
2022-12-19 08:58:49 -08:00
* offset 20
2021-11-23 12:02:03 -08:00
*/
scaled_channel<int8_t, 2, 1> boostControllerClosedLoopPart = (int8_t)0;
/**
* need 4 byte alignment
units
2022-12-19 08:58:49 -08:00
* offset 21
*/
2022-12-19 08:58:49 -08:00
uint8_t alignmentFill_at_21[1];
/**
* @@GAUGE_NAME_BOOST_TARGET@@
kPa
2022-12-19 08:58:49 -08:00
* offset 22
*/
scaled_channel<int16_t, 30, 1> boostControlTarget = (int16_t)0;
2021-11-23 12:02:03 -08:00
};
2022-12-19 08:58:49 -08:00
static_assert(sizeof(boost_control_s) == 24);
2021-11-23 12:02:03 -08:00
// end
2023-10-19 17:47:00 -07:00
// this section was generated automatically by rusEFI tool config_definition_base.jar based on (unknown script) controllers/actuators/boost_control.txt Fri Oct 20 00:44:15 UTC 2023