rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
trigger_universal.h
Go to the documentation of this file.
1/*
2 * @file trigger_universal.h
3 *
4 *
5 * @date Jan 3, 2017
6 * @author Andrey Belomutskiy, (c) 2012-2020
7 */
8
9#pragma once
10#include "trigger_structure.h"
11
12#define NO_LEFT_FILTER -1
13#define NO_RIGHT_FILTER 1000
14
16 int totalTeethCount, int skippedCount,
17 float toothWidth,
18 float offset, float engineCycle, float filterLeft, float filterRight);
19
20
21void initializeSkippedToothTrigger(TriggerWaveform *s, int totalTeethCount, int skippedCount, operation_mode_e operationMode, SyncEdge syncEdge);
22
23// TT_3_1_CAM
25
27// TT_VVT_BOSCH_QUICK_START
29
30// TT_KAWA_KX450F
32
33// TT_3_TOOTH_CRANK
35
36// TT_6_TOOTH_CRANK
38
39// TT_12_TOOTH_CRANK
Trigger shape has all the fields needed to describe and decode trigger signal.
operation_mode_e
TriggerWheel
SyncEdge
Definition sync_edge.h:3
void configureQuickStartSenderWheel(TriggerWaveform *s)
void configure3ToothCrank(TriggerWaveform *)
void configureKawaKX450F(TriggerWaveform *s)
void configureOnePlusOne(TriggerWaveform *s)
void addSkippedToothTriggerEvents(TriggerWheel wheel, TriggerWaveform *s, int totalTeethCount, int skippedCount, float toothWidth, float offset, float engineCycle, float filterLeft, float filterRight)
void configure6ToothCrank(TriggerWaveform *)
void configure12ToothCrank(TriggerWaveform *)
void initializeSkippedToothTrigger(TriggerWaveform *s, int totalTeethCount, int skippedCount, operation_mode_e operationMode, SyncEdge syncEdge)
void configure3_1_cam(TriggerWaveform *s)
uint16_t offset
Definition tunerstudio.h:0