rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
controllers
trigger
decoders
trigger_ford.cpp
Go to the documentation of this file.
1
/**
2
* @file trigger_ford.cpp
3
*
4
* @author Andrey Belomutskiy, (c) rusEFI LLC 2012-2023
5
*/
6
7
#include "
pch.h
"
8
9
#include "
trigger_ford.h
"
10
11
void
configureFordCoyote
(
TriggerWaveform
*s) {
12
s->
initialize
(
FOUR_STROKE_CAM_SENSOR
,
SyncEdge::RiseOnly
);
13
14
s->
setTriggerSynchronizationGap
(3);
15
s->
setSecondTriggerSynchronizationGap
(0.5);
16
17
s->
addToothRiseFall
(45
/*, width = 10*/
);
18
s->
addToothRiseFall
(90);
19
20
s->
addToothRiseFall
(180 - 30);
21
s->
addToothRiseFall
(180);
22
23
s->
addToothRiseFall
(270 - 30);
24
s->
addToothRiseFall
(270);
25
26
s->
addToothRiseFall
(360);
27
}
TriggerWaveform
Trigger shape has all the fields needed to describe and decode trigger signal.
Definition
trigger_structure.h:47
TriggerWaveform::initialize
void initialize(operation_mode_e operationMode, SyncEdge syncEdge)
Definition
trigger_structure.cpp:65
TriggerWaveform::setSecondTriggerSynchronizationGap
void setSecondTriggerSynchronizationGap(float syncRatio)
Definition
trigger_structure.cpp:427
TriggerWaveform::setTriggerSynchronizationGap
void setTriggerSynchronizationGap(float syncRatio)
Definition
trigger_structure.cpp:423
TriggerWaveform::addToothRiseFall
void addToothRiseFall(angle_t angle, angle_t width=10, TriggerWheel const channelIndex=TriggerWheel::T_PRIMARY)
Definition
trigger_structure.cpp:256
pch.h
FOUR_STROKE_CAM_SENSOR
@ FOUR_STROKE_CAM_SENSOR
Definition
rusefi_enums.h:275
SyncEdge::RiseOnly
@ RiseOnly
configureFordCoyote
void configureFordCoyote(TriggerWaveform *s)
Definition
trigger_ford.cpp:11
trigger_ford.h
Generated on Sat Sep 27 2025 00:10:06 for rusEFI by
1.9.8