parent
c07e9f76aa
commit
4991c4fe94
|
@ -1,10 +1,10 @@
|
|||
! same live data is used for crank and cam decoders, so we usually have 1+4 of these
|
||||
|
||||
struct_no_prefix trigger_state_s
|
||||
uint32_t synchronizationCounter;sync: trigger wheel sync counter
|
||||
uint32_t synchronizationCounter;sync: wheel sync counter
|
||||
uint32_t vvtToothDurations0;;"us", 1, 0, 0, 100000, 3
|
||||
float vvtCurrentPosition;"sync: Primary Cam Position";"", 1, 0, -10000, 10000, 3
|
||||
float[4 iterate] vvtToothPosition;"sync: Cam Tooth Position";"", 1, 0, -10000, 10000, 3
|
||||
float vvtCurrentPosition;"sync: Primary Position";"", 1, 0, -10000, 10000, 3
|
||||
float[4 iterate] vvtToothPosition;"sync: Cam Position";"", 1, 0, -10000, 10000, 3
|
||||
float triggerSyncGapRatio;@@GAUGE_NAME_TRG_GAP@@;"", 1, 0, -10000, 10000, 3
|
||||
|
||||
uint8_t triggerStateIndex
|
||||
|
|
|
@ -124,7 +124,7 @@ Usages:
|
|||
java: FanControl.java
|
||||
folder: controllers/actuators
|
||||
output_name: [ "fan1", "fan2" ]
|
||||
constexpr: "engine->module<FanControl1>()"
|
||||
constexpr: ["engine->module<FanControl1>()", "engine->module<FanControl2>()"]
|
||||
isPtr: true
|
||||
|
||||
- name: fuel_pump_control
|
||||
|
@ -172,7 +172,7 @@ Usages:
|
|||
folder: controllers/trigger
|
||||
prepend: integration/rusefi_config_shared.txt
|
||||
output_name: [ "trg", "vvt1i", "vvt1e", "vvt2i", "vvt2e" ]
|
||||
constexpr: "engine->triggerCentral.triggerState"
|
||||
constexpr: [ "engine->triggerCentral.triggerState", "engine->triggerCentral.vvtState[0][0]","engine->triggerCentral.vvtState[0][1]","engine->triggerCentral.vvtState[1][0]","engine->triggerCentral.vvtState[1][1]"]
|
||||
|
||||
- name: trigger_state_primary
|
||||
cppFileName: trigger_decoder
|
||||
|
|
Loading…
Reference in New Issue