This commit is contained in:
parent
853289feaf
commit
b97a7b23c5
|
@ -1,4 +1,4 @@
|
||||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Aug 17 02:29:38 EDT 2017
|
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Aug 28 20:53:46 EDT 2017
|
||||||
// begin
|
// begin
|
||||||
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
|
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
|
||||||
#define ENGINE_CONFIGURATION_GENERATED_H_
|
#define ENGINE_CONFIGURATION_GENERATED_H_
|
||||||
|
@ -1240,7 +1240,7 @@ typedef struct {
|
||||||
bool useFSIO16ForTimingAdjustment : 1;
|
bool useFSIO16ForTimingAdjustment : 1;
|
||||||
/**
|
/**
|
||||||
offset 1488 bit 12 */
|
offset 1488 bit 12 */
|
||||||
bool unusedbit_10 : 1;
|
bool tachPulseDurationAsDutyCycle : 1;
|
||||||
/**
|
/**
|
||||||
offset 1488 bit 13 */
|
offset 1488 bit 13 */
|
||||||
bool isAlternatorControlEnabled : 1;
|
bool isAlternatorControlEnabled : 1;
|
||||||
|
@ -1708,7 +1708,7 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
float mapAccelTaperMult[MAP_ACCEL_TAPER];
|
float mapAccelTaperMult[MAP_ACCEL_TAPER];
|
||||||
/**
|
/**
|
||||||
* This implementation makes a pulse every time one of the coils is charged. See also tachOutputPin
|
* This implementation makes a pulse every time one of the coils is charged, using coil dwell for pulse width. See also tachOutputPin
|
||||||
* offset 2368
|
* offset 2368
|
||||||
*/
|
*/
|
||||||
brain_pin_e dizzySparkOutputPin;
|
brain_pin_e dizzySparkOutputPin;
|
||||||
|
@ -2158,4 +2158,4 @@ typedef struct {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// end
|
// end
|
||||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Aug 17 02:29:38 EDT 2017
|
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Aug 28 20:53:46 EDT 2017
|
||||||
|
|
|
@ -862,8 +862,8 @@
|
||||||
#define useLinearIatSensor_offset_hex 5d0
|
#define useLinearIatSensor_offset_hex 5d0
|
||||||
#define useFSIO16ForTimingAdjustment_offset 1488
|
#define useFSIO16ForTimingAdjustment_offset 1488
|
||||||
#define useFSIO16ForTimingAdjustment_offset_hex 5d0
|
#define useFSIO16ForTimingAdjustment_offset_hex 5d0
|
||||||
#define unusedbit_10_offset 1488
|
#define tachPulseDurationAsDutyCycle_offset 1488
|
||||||
#define unusedbit_10_offset_hex 5d0
|
#define tachPulseDurationAsDutyCycle_offset_hex 5d0
|
||||||
#define isAlternatorControlEnabled_offset 1488
|
#define isAlternatorControlEnabled_offset 1488
|
||||||
#define isAlternatorControlEnabled_offset_hex 5d0
|
#define isAlternatorControlEnabled_offset_hex 5d0
|
||||||
#define unusedBit__3_offset 1488
|
#define unusedBit__3_offset 1488
|
||||||
|
|
|
@ -27,7 +27,14 @@ static void tachSignalCallback(trigger_event_e ckpSignalType,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
enginePins.tachOut.setHigh();
|
enginePins.tachOut.setHigh();
|
||||||
scheduleTask(&tachTurnSignalOff, (int)MS2US(engineConfiguration->tachPulseDuractionMs), (schfunc_t) &turnTachPinLow, NULL);
|
float durationMs;
|
||||||
|
if (engineConfiguration->tachPulseDurationAsDutyCycle) {
|
||||||
|
// todo: implement tachPulseDurationAsDutyCycle
|
||||||
|
durationMs = engineConfiguration->tachPulseDuractionMs;
|
||||||
|
} else {
|
||||||
|
durationMs = engineConfiguration->tachPulseDuractionMs;
|
||||||
|
}
|
||||||
|
scheduleTask(&tachTurnSignalOff, (int)MS2US(durationMs), (schfunc_t) &turnTachPinLow, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void initTachometer(void) {
|
void initTachometer(void) {
|
||||||
|
|
|
@ -601,7 +601,7 @@ bit vvtDisplayInverted
|
||||||
bit canWriteEnabled
|
bit canWriteEnabled
|
||||||
bit useLinearIatSensor
|
bit useLinearIatSensor
|
||||||
bit useFSIO16ForTimingAdjustment;See fsioTimingAdjustment
|
bit useFSIO16ForTimingAdjustment;See fsioTimingAdjustment
|
||||||
bit unusedbit_10
|
bit tachPulseDurationAsDutyCycle
|
||||||
bit isAlternatorControlEnabled
|
bit isAlternatorControlEnabled
|
||||||
bit unusedBit__3
|
bit unusedBit__3
|
||||||
bit unusedbit_8
|
bit unusedbit_8
|
||||||
|
@ -760,7 +760,7 @@ custom pin_mode_e 4 bits, U32, @OFFSET@, [0:5], @@pin_mode_e_enum@@
|
||||||
float[MAP_ACCEL_TAPER] mapAccelTaperBins;;"counter", 1, 0, 0.0, 300, 0
|
float[MAP_ACCEL_TAPER] mapAccelTaperBins;;"counter", 1, 0, 0.0, 300, 0
|
||||||
float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300, 2
|
float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300, 2
|
||||||
|
|
||||||
brain_pin_e dizzySparkOutputPin;+This implementation makes a pulse every time one of the coils is charged. See also tachOutputPin
|
brain_pin_e dizzySparkOutputPin;+This implementation makes a pulse every time one of the coils is charged, using coil dwell for pulse width. See also tachOutputPin
|
||||||
pin_output_mode_e dizzySparkOutputPinMode;
|
pin_output_mode_e dizzySparkOutputPinMode;
|
||||||
adc_channel_e[FSIO_ANALOG_INPUT_COUNT iterate] fsioAdc;todo: rename to fsioAnalogInputs
|
adc_channel_e[FSIO_ANALOG_INPUT_COUNT iterate] fsioAdc;todo: rename to fsioAnalogInputs
|
||||||
float fixedTiming;Fixed timing, useful for TDC testing;"deg", 1, 0, -720, 720, 2
|
float fixedTiming;Fixed timing, useful for TDC testing;"deg", 1, 0, -720, 720, 2
|
||||||
|
|
|
@ -1531,6 +1531,7 @@ cmd_stop_engine = "w\x00\x99\x00\x00"
|
||||||
field = "pin", tachOutputPin
|
field = "pin", tachOutputPin
|
||||||
field = "pin mode", tachOutputPinMode
|
field = "pin mode", tachOutputPinMode
|
||||||
field = "rise at trigger index", tachPulseTriggerIndex
|
field = "rise at trigger index", tachPulseTriggerIndex
|
||||||
|
fiedl = "pulse duration is duty cycle", tachPulseDurationAsDutyCycle
|
||||||
field = "pulse duration", tachPulseDuractionMs
|
field = "pulse duration", tachPulseDuractionMs
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.rusefi.config;
|
package com.rusefi.config;
|
||||||
|
|
||||||
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Aug 17 02:29:38 EDT 2017
|
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Aug 28 20:53:46 EDT 2017
|
||||||
public class Fields {
|
public class Fields {
|
||||||
public static final int LE_COMMAND_LENGTH = 200;
|
public static final int LE_COMMAND_LENGTH = 200;
|
||||||
public static final int BLOCKING_FACTOR = 400;
|
public static final int BLOCKING_FACTOR = 400;
|
||||||
|
@ -633,7 +633,7 @@ public class Fields {
|
||||||
public static final int canWriteEnabled_offset = 1488;
|
public static final int canWriteEnabled_offset = 1488;
|
||||||
public static final int useLinearIatSensor_offset = 1488;
|
public static final int useLinearIatSensor_offset = 1488;
|
||||||
public static final int useFSIO16ForTimingAdjustment_offset = 1488;
|
public static final int useFSIO16ForTimingAdjustment_offset = 1488;
|
||||||
public static final int unusedbit_10_offset = 1488;
|
public static final int tachPulseDurationAsDutyCycle_offset = 1488;
|
||||||
public static final int isAlternatorControlEnabled_offset = 1488;
|
public static final int isAlternatorControlEnabled_offset = 1488;
|
||||||
public static final int unusedBit__3_offset = 1488;
|
public static final int unusedBit__3_offset = 1488;
|
||||||
public static final int unusedbit_8_offset = 1488;
|
public static final int unusedbit_8_offset = 1488;
|
||||||
|
@ -1504,7 +1504,7 @@ public class Fields {
|
||||||
public static final Field CANWRITEENABLED = Field.create("CANWRITEENABLED", 1488, FieldType.BIT, 9);
|
public static final Field CANWRITEENABLED = Field.create("CANWRITEENABLED", 1488, FieldType.BIT, 9);
|
||||||
public static final Field USELINEARIATSENSOR = Field.create("USELINEARIATSENSOR", 1488, FieldType.BIT, 10);
|
public static final Field USELINEARIATSENSOR = Field.create("USELINEARIATSENSOR", 1488, FieldType.BIT, 10);
|
||||||
public static final Field USEFSIO16FORTIMINGADJUSTMENT = Field.create("USEFSIO16FORTIMINGADJUSTMENT", 1488, FieldType.BIT, 11);
|
public static final Field USEFSIO16FORTIMINGADJUSTMENT = Field.create("USEFSIO16FORTIMINGADJUSTMENT", 1488, FieldType.BIT, 11);
|
||||||
public static final Field UNUSEDBIT_10 = Field.create("UNUSEDBIT_10", 1488, FieldType.BIT, 12);
|
public static final Field TACHPULSEDURATIONASDUTYCYCLE = Field.create("TACHPULSEDURATIONASDUTYCYCLE", 1488, FieldType.BIT, 12);
|
||||||
public static final Field ISALTERNATORCONTROLENABLED = Field.create("ISALTERNATORCONTROLENABLED", 1488, FieldType.BIT, 13);
|
public static final Field ISALTERNATORCONTROLENABLED = Field.create("ISALTERNATORCONTROLENABLED", 1488, FieldType.BIT, 13);
|
||||||
public static final Field UNUSEDBIT__3 = Field.create("UNUSEDBIT__3", 1488, FieldType.BIT, 14);
|
public static final Field UNUSEDBIT__3 = Field.create("UNUSEDBIT__3", 1488, FieldType.BIT, 14);
|
||||||
public static final Field UNUSEDBIT_8 = Field.create("UNUSEDBIT_8", 1488, FieldType.BIT, 15);
|
public static final Field UNUSEDBIT_8 = Field.create("UNUSEDBIT_8", 1488, FieldType.BIT, 15);
|
||||||
|
|
Loading…
Reference in New Issue