stepper and linear termistors

This commit is contained in:
rusefi 2017-06-12 18:22:25 -04:00
parent 0c4fc55e7a
commit 6b1fefd1c6
5 changed files with 24 additions and 21 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Jun 12 08:15:34 EDT 2017
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Jun 12 18:21:38 EDT 2017
// begin
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
#define ENGINE_CONFIGURATION_GENERATED_H_
@ -668,7 +668,7 @@ typedef struct {
/**
* offset 582
*/
int16_t unusedHere;
int16_t idleStepperPulseDuration;
/**
* offset 584
*/
@ -1222,7 +1222,7 @@ typedef struct {
bool silentTriggerError : 1;
/**
offset 1488 bit 7 */
bool unusedBit__2 : 1;
bool useLinearCltSensor : 1;
/**
offset 1488 bit 8 */
bool canReadEnabled : 1;
@ -1231,7 +1231,7 @@ typedef struct {
bool canWriteEnabled : 1;
/**
offset 1488 bit 10 */
bool unusedBit_123 : 1;
bool useLinearIatSensor : 1;
/**
offset 1488 bit 11 */
bool unusedbit_9 : 1;
@ -2118,4 +2118,4 @@ typedef struct {
#endif
// end
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Jun 12 08:15:34 EDT 2017
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Jun 12 18:21:38 EDT 2017

View File

@ -679,8 +679,8 @@
#define unused1_offset_hex 4b0
#define idlePidDeactivationTpsThreshold_offset 1204
#define idlePidDeactivationTpsThreshold_offset_hex 4b4
#define unusedHere_offset 1206
#define unusedHere_offset_hex 4b6
#define idleStepperPulseDuration_offset 1206
#define idleStepperPulseDuration_offset_hex 4b6
#define nb2ratioFrom_offset 1208
#define nb2ratioFrom_offset_hex 4b8
#define nb2ratioTo_offset 1212
@ -851,14 +851,14 @@
#define isEngineChartEnabled_offset_hex 5d0
#define silentTriggerError_offset 1488
#define silentTriggerError_offset_hex 5d0
#define unusedBit__2_offset 1488
#define unusedBit__2_offset_hex 5d0
#define useLinearCltSensor_offset 1488
#define useLinearCltSensor_offset_hex 5d0
#define canReadEnabled_offset 1488
#define canReadEnabled_offset_hex 5d0
#define canWriteEnabled_offset 1488
#define canWriteEnabled_offset_hex 5d0
#define unusedBit_123_offset 1488
#define unusedBit_123_offset_hex 5d0
#define useLinearIatSensor_offset 1488
#define useLinearIatSensor_offset_hex 5d0
#define unusedbit_9_offset 1488
#define unusedbit_9_offset_hex 5d0
#define unusedbit_10_offset 1488

View File

@ -527,7 +527,7 @@ custom uart_device_e 4 bits,U32, @OFFSET@, [0:1], "Off", "UART1", "UART2", "UA
uart_device_e consoleUartDevice;
int unused1;
int16_t idlePidDeactivationTpsThreshold;;"%", 1, 0, 0, 100.0, 0
int16_t unusedHere;
int16_t idleStepperPulseDuration;;"ms", 1, 0, 0, 1000.0, 0
float nb2ratioFrom;;"value", 1, 0, 0, 1000, 5
float nb2ratioTo;;"value", 1, 0, 0, 1000, 5
@ -593,10 +593,10 @@ bit vvtDisplayInverted
bit useConstantDwellDuringCranking
bit isEngineChartEnabled;This options enables data for 'engine sniffer' tab in console, which comes at some CPU price
bit silentTriggerError
bit unusedBit__2
bit useLinearCltSensor
bit canReadEnabled
bit canWriteEnabled
bit unusedBit_123
bit useLinearIatSensor
bit unusedbit_9
bit unusedbit_10
bit isAlternatorControlEnabled

View File

@ -1028,6 +1028,7 @@ cmd_call_from_pit = "w\x00\x20\x34\x56"
field = "Idle Stepper Dir", idle_stepperDirectionPin
field = "Idle Stepper Step", idle_stepperStepPin
field = "Idle Stepper Enable", stepperEnablePin
field = "Idle Stepper Pulse", idleStepperPulseDuration
field = "Fuel Pump Pin", fuelPumpPin
field = "ETB Dir #1", etbDirectionPin1
field = "ETB Dir #2", etbDirectionPin2
@ -1108,6 +1109,7 @@ cmd_call_from_pit = "w\x00\x20\x34\x56"
field = ""
field = "Highest temperature", clt_tempC_3
field = "Resistance @ HT", clt_resistance_3
field = "Is linear?", useLinearCltSensor
dialog = cltSensor_IO, "CLT Sensor I/O"
field = "CLT ADC input", clt_adcChannel
field = "Bias Resistor Value", clt_bias_resistor
@ -1131,6 +1133,7 @@ cmd_call_from_pit = "w\x00\x20\x34\x56"
dialog = iatSensor_IO, "IAT Sensor I/O"
field = "IAT ADC input", iat_adcChannel
field = "Bias Resistor Value", iat_bias_resistor
field = "Is linear?", useLinearIatSensor
dialog = iatSensor, "", yAxis
panel = iat_thermistor, North
panel = iatSensor_IO, South

View File

@ -1,6 +1,6 @@
package com.rusefi.config;
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Jun 12 08:15:34 EDT 2017
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Jun 12 18:21:38 EDT 2017
public class Fields {
public static final int LE_COMMAND_LENGTH = 200;
public static final int FSIO_ADC_COUNT = 4;
@ -511,7 +511,7 @@ public class Fields {
public static final int consoleUartDevice_offset = 1196;
public static final int unused1_offset = 1200;
public static final int idlePidDeactivationTpsThreshold_offset = 1204;
public static final int unusedHere_offset = 1206;
public static final int idleStepperPulseDuration_offset = 1206;
public static final int nb2ratioFrom_offset = 1208;
public static final int nb2ratioTo_offset = 1212;
public static final int triggerErrorPin_offset = 1216;
@ -627,10 +627,10 @@ public class Fields {
public static final int useConstantDwellDuringCranking_offset = 1488;
public static final int isEngineChartEnabled_offset = 1488;
public static final int silentTriggerError_offset = 1488;
public static final int unusedBit__2_offset = 1488;
public static final int useLinearCltSensor_offset = 1488;
public static final int canReadEnabled_offset = 1488;
public static final int canWriteEnabled_offset = 1488;
public static final int unusedBit_123_offset = 1488;
public static final int useLinearIatSensor_offset = 1488;
public static final int unusedbit_9_offset = 1488;
public static final int unusedbit_10_offset = 1488;
public static final int isAlternatorControlEnabled_offset = 1488;
@ -1387,7 +1387,7 @@ public class Fields {
public static final Field CONSOLEUARTDEVICE = Field.create("CONSOLEUARTDEVICE", 1196, FieldType.INT);
public static final Field UNUSED1 = Field.create("UNUSED1", 1200, FieldType.INT);
public static final Field IDLEPIDDEACTIVATIONTPSTHRESHOLD = Field.create("IDLEPIDDEACTIVATIONTPSTHRESHOLD", 1204, FieldType.INT);
public static final Field UNUSEDHERE = Field.create("UNUSEDHERE", 1206, FieldType.INT);
public static final Field IDLESTEPPERPULSEDURATION = Field.create("IDLESTEPPERPULSEDURATION", 1206, FieldType.INT);
public static final Field NB2RATIOFROM = Field.create("NB2RATIOFROM", 1208, FieldType.FLOAT);
public static final Field NB2RATIOTO = Field.create("NB2RATIOTO", 1212, FieldType.FLOAT);
public static final Field TRIGGERERRORPIN = Field.create("TRIGGERERRORPIN", 1216, FieldType.INT, brain_pin_e);
@ -1474,10 +1474,10 @@ public class Fields {
public static final Field USECONSTANTDWELLDURINGCRANKING = Field.create("USECONSTANTDWELLDURINGCRANKING", 1488, FieldType.BIT, 4);
public static final Field ISENGINECHARTENABLED = Field.create("ISENGINECHARTENABLED", 1488, FieldType.BIT, 5);
public static final Field SILENTTRIGGERERROR = Field.create("SILENTTRIGGERERROR", 1488, FieldType.BIT, 6);
public static final Field UNUSEDBIT__2 = Field.create("UNUSEDBIT__2", 1488, FieldType.BIT, 7);
public static final Field USELINEARCLTSENSOR = Field.create("USELINEARCLTSENSOR", 1488, FieldType.BIT, 7);
public static final Field CANREADENABLED = Field.create("CANREADENABLED", 1488, FieldType.BIT, 8);
public static final Field CANWRITEENABLED = Field.create("CANWRITEENABLED", 1488, FieldType.BIT, 9);
public static final Field UNUSEDBIT_123 = Field.create("UNUSEDBIT_123", 1488, FieldType.BIT, 10);
public static final Field USELINEARIATSENSOR = Field.create("USELINEARIATSENSOR", 1488, FieldType.BIT, 10);
public static final Field UNUSEDBIT_9 = Field.create("UNUSEDBIT_9", 1488, FieldType.BIT, 11);
public static final Field UNUSEDBIT_10 = Field.create("UNUSEDBIT_10", 1488, FieldType.BIT, 12);
public static final Field ISALTERNATORCONTROLENABLED = Field.create("ISALTERNATORCONTROLENABLED", 1488, FieldType.BIT, 13);