fome-fw/firmware/controllers/actuators/boost_control_generated.h

143 lines
2.4 KiB
C
Raw Normal View History

2021-11-23 12:02:03 -08:00
#pragma once
#include "rusefi_types.h"
struct boost_control_s {
2023-03-27 01:38:48 -07:00
// offset 0 bit 0
2022-01-01 22:17:22 -08:00
bool isTpsInvalid : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 1
2021-11-23 12:02:03 -08:00
bool m_shouldResetPid : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 2
2021-11-23 12:49:55 -08:00
bool isBelowClosedLoopThreshold : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 3
2021-11-24 10:08:24 -08:00
bool isNotClosedLoop : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 4
2022-01-01 22:17:22 -08:00
bool isZeroRpm : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 5
2023-01-16 12:37:55 -08:00
bool hasInitBoost : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 6
2023-01-16 17:57:05 -08:00
bool rpmTooLow : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 7
2023-01-16 17:57:05 -08:00
bool tpsTooLow : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 8
2023-01-16 17:57:05 -08:00
bool mapTooLow : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 9
2023-01-16 17:57:05 -08:00
bool unusedBit_9_9 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 10
2023-01-16 17:57:05 -08:00
bool unusedBit_9_10 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 11
2023-01-16 17:57:05 -08:00
bool unusedBit_9_11 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 12
2023-01-16 17:57:05 -08:00
bool unusedBit_9_12 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 13
2023-01-16 17:57:05 -08:00
bool unusedBit_9_13 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 14
2023-01-16 17:57:05 -08:00
bool unusedBit_9_14 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 15
2023-01-16 17:57:05 -08:00
bool unusedBit_9_15 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 16
2023-01-16 17:57:05 -08:00
bool unusedBit_9_16 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 17
2023-01-16 17:57:05 -08:00
bool unusedBit_9_17 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 18
2023-01-16 17:57:05 -08:00
bool unusedBit_9_18 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 19
2023-01-16 17:57:05 -08:00
bool unusedBit_9_19 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 20
2023-01-16 17:57:05 -08:00
bool unusedBit_9_20 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 21
2023-01-16 17:57:05 -08:00
bool unusedBit_9_21 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 22
2023-01-16 17:57:05 -08:00
bool unusedBit_9_22 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 23
2023-01-16 17:57:05 -08:00
bool unusedBit_9_23 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 24
2023-01-16 17:57:05 -08:00
bool unusedBit_9_24 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 25
2023-01-16 17:57:05 -08:00
bool unusedBit_9_25 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 26
2023-01-16 17:57:05 -08:00
bool unusedBit_9_26 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 27
2023-01-16 17:57:05 -08:00
bool unusedBit_9_27 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 28
2023-01-16 17:57:05 -08:00
bool unusedBit_9_28 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 29
2023-01-16 17:57:05 -08:00
bool unusedBit_9_29 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 30
2023-01-16 17:57:05 -08:00
bool unusedBit_9_30 : 1 {};
2023-03-27 01:38:48 -07:00
// offset 0 bit 31
2023-01-16 17:57:05 -08:00
bool unusedBit_9_31 : 1 {};
2023-03-27 01:38:48 -07:00
// "Boost: Lua Target Add"
// v
// offset 4
2023-01-16 13:31:45 -08:00
scaled_channel<int16_t, 2, 1> luaTargetAdd = (int16_t)0;
2023-03-27 01:38:48 -07:00
// "Boost: Output"
// percent
// offset 6
2023-01-16 17:57:05 -08:00
scaled_channel<int16_t, 100, 1> boostOutput = (int16_t)0;
2023-03-27 01:38:48 -07:00
// "Boost: Lua Target Mult"
// v
// offset 8
2022-07-14 06:57:47 -07:00
float luaTargetMult = (float)0;
2023-03-27 01:38:48 -07:00
// "Boost: Open Loop"
// v
// offset 12
2021-11-23 12:02:03 -08:00
float openLoopPart = (float)0;
2023-03-27 01:38:48 -07:00
// "Boost: Lua Open Loop Add"
// v
// offset 16
2022-12-19 08:58:49 -08:00
float luaOpenLoopAdd = (float)0;
2023-03-27 01:38:48 -07:00
// @@GAUGE_NAME_BOOST_CLOSED_LOOP@@
// %
// offset 20
scaled_channel<int8_t, 2, 1> boostControllerClosedLoopPart = (int8_t)0;
2023-03-27 01:38:48 -07:00
// need 4 byte alignment
// units
// offset 21
2022-12-19 08:58:49 -08:00
uint8_t alignmentFill_at_21[1];
2023-03-27 01:38:48 -07:00
// @@GAUGE_NAME_BOOST_TARGET@@
// kPa
// offset 22
scaled_channel<int16_t, 30, 1> boostControlTarget = (int16_t)0;
2023-03-27 01:38:48 -07:00
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