2017-01-03 14:01:42 -08:00
|
|
|
/*
|
|
|
|
* @file trigger_universal.h
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @date Jan 3, 2017
|
2020-01-13 18:57:43 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
2017-01-03 14:01:42 -08:00
|
|
|
*/
|
|
|
|
|
2020-04-01 16:00:56 -07:00
|
|
|
#pragma once
|
2019-01-01 11:05:11 -08:00
|
|
|
#include "trigger_structure.h"
|
2017-01-03 14:01:42 -08:00
|
|
|
|
|
|
|
#define NO_LEFT_FILTER -1
|
|
|
|
#define NO_RIGHT_FILTER 1000
|
|
|
|
|
2022-09-11 00:46:50 -07:00
|
|
|
void addSkippedToothTriggerEvents(TriggerWheel wheel, TriggerWaveform *s,
|
2017-01-03 14:01:42 -08:00
|
|
|
int totalTeethCount, int skippedCount,
|
|
|
|
float toothWidth,
|
2018-12-25 16:42:27 -08:00
|
|
|
float offset, float engineCycle, float filterLeft, float filterRight);
|
2017-01-03 14:01:42 -08:00
|
|
|
|
|
|
|
|
2021-04-11 15:20:35 -07:00
|
|
|
void initializeSkippedToothTriggerWaveformExt(TriggerWaveform *s, int totalTeethCount, int skippedCount, operation_mode_e operationMode);
|
2017-01-03 14:01:42 -08:00
|
|
|
|
2020-04-25 16:50:43 -07:00
|
|
|
// TT_3_1_CAM
|
2020-04-25 19:23:53 -07:00
|
|
|
void configure3_1_cam(TriggerWaveform *s);
|
2017-01-03 14:01:42 -08:00
|
|
|
|
2020-04-25 19:23:53 -07:00
|
|
|
void configureOnePlusOne(TriggerWaveform *s);
|
2020-08-24 22:24:15 -07:00
|
|
|
// TT_VVT_BOSCH_QUICK_START
|
2020-04-25 16:50:43 -07:00
|
|
|
void configureQuickStartSenderWheel(TriggerWaveform *s);
|
2021-04-08 19:16:14 -07:00
|
|
|
|
|
|
|
// TT_KAWA_KX450F
|
|
|
|
void configureKawaKX450F(TriggerWaveform *s);
|
2022-05-17 18:38:24 -07:00
|
|
|
|
|
|
|
// TT_12_TOOTH_CRANK
|
|
|
|
void configure12ToothCrank(TriggerWaveform*);
|