rusefi/firmware/live_data_generated/wideband_state_generated.h

60 lines
1.3 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/sensors//wideband_state.txt Wed Jan 03 20:30:10 UTC 2024
2022-06-23 17:20:41 -07:00
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
#include "rusefi_types.h"
// start of wideband_state_s
struct wideband_state_s {
/**
2023-05-05 12:02:59 -07:00
* WBO: Fault code
2022-06-23 17:20:41 -07:00
* offset 0
*/
uint8_t faultCode = (uint8_t)0;
/**
2023-05-05 12:02:59 -07:00
* WBO: Heater duty
2024-01-03 12:32:11 -08:00
* units: %
2022-06-23 17:20:41 -07:00
* offset 1
*/
2022-10-11 18:03:24 -07:00
uint8_t heaterDuty = (uint8_t)0;
2022-06-23 17:20:41 -07:00
/**
2023-05-05 12:02:59 -07:00
* WBO: Pump duty
2024-01-03 12:32:11 -08:00
* units: %
2022-06-23 17:20:41 -07:00
* offset 2
*/
2022-10-11 18:03:24 -07:00
uint8_t pumpDuty = (uint8_t)0;
2022-06-23 17:20:41 -07:00
/**
* need 4 byte alignment
2024-01-03 12:32:11 -08:00
* units: units
2022-06-23 17:20:41 -07:00
* offset 3
*/
uint8_t alignmentFill_at_3[1];
/**
2023-05-05 12:02:59 -07:00
* WBO: Temperature
2024-01-03 12:32:11 -08:00
* units: C
2022-06-23 17:20:41 -07:00
* offset 4
*/
uint16_t tempC = (uint16_t)0;
/**
2023-05-05 12:02:59 -07:00
* WBO: Nernst Voltage
2024-01-03 12:32:11 -08:00
* units: V
2022-06-23 17:20:41 -07:00
* offset 6
*/
scaled_channel<uint16_t, 1000, 1> nernstVoltage = (uint16_t)0;
/**
2023-05-05 12:02:59 -07:00
* WBO: ESR
2024-01-03 12:32:11 -08:00
* units: ohm
2022-06-23 17:20:41 -07:00
* offset 8
*/
uint16_t esr = (uint16_t)0;
/**
* need 4 byte alignment
2024-01-03 12:32:11 -08:00
* units: units
2022-06-23 17:20:41 -07:00
* offset 10
*/
uint8_t alignmentFill_at_10[2];
};
static_assert(sizeof(wideband_state_s) == 12);
// 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/sensors//wideband_state.txt Wed Jan 03 20:30:10 UTC 2024