GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 12 / 0 / 12
Functions: 100.0% 1 / 0 / 1
Branches: -% 0 / 0 / 0
Decisions: -% 0 / - / 0

firmware/controllers/trigger/decoders/trigger_ford.cpp
Line Branch Decision Exec Source
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 8 void configureFordCoyote(TriggerWaveform *s) {
12 8 s->initialize(FOUR_STROKE_CAM_SENSOR, SyncEdge::RiseOnly);
13
14 8 s->setTriggerSynchronizationGap(3);
15 8 s->setSecondTriggerSynchronizationGap(0.5);
16
17 8 s->addToothRiseFall(45 /*, width = 10*/);
18 8 s->addToothRiseFall(90);
19
20 8 s->addToothRiseFall(180 - 30);
21 8 s->addToothRiseFall(180);
22
23 8 s->addToothRiseFall(270 - 30);
24 8 s->addToothRiseFall(270);
25
26 8 s->addToothRiseFall(360);
27 8 }
28