rusefi-1/firmware/controllers/trigger/decoders/trigger_universal.h

31 lines
944 B
C
Raw Normal View History

2017-01-03 14:01:42 -08:00
/*
* @file trigger_universal.h
*
*
* @date Jan 3, 2017
* @author Andrey Belomutskiy, (c) 2012-2017
*/
#ifndef CONTROLLERS_TRIGGER_DECODERS_TRIGGER_UNIVERSAL_H_
#define CONTROLLERS_TRIGGER_DECODERS_TRIGGER_UNIVERSAL_H_
2018-12-25 17:56:54 -08:00
#include "trigger_decoder.h"
2017-01-03 14:01:42 -08:00
#define NO_LEFT_FILTER -1
#define NO_RIGHT_FILTER 1000
void addSkippedToothTriggerEvents(trigger_wheel_e wheel, TriggerShape *s,
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
2018-12-25 17:09:35 -08:00
void initializeSkippedToothTriggerShapeExt(TriggerShape *s, int totalTeethCount, int skippedCount, operation_mode_e operationMode);;
2017-01-03 14:01:42 -08:00
2018-12-25 16:42:27 -08:00
void configureOnePlus60_2(TriggerShape *s, operation_mode_e operationMode);
2017-01-03 14:01:42 -08:00
2018-12-25 16:42:27 -08:00
void configure3_1_cam(TriggerShape *s, operation_mode_e operationMode);
2017-01-03 14:01:42 -08:00
2018-12-25 16:42:27 -08:00
void configureOnePlusOne(TriggerShape *s, operation_mode_e operationMode);
2017-01-03 14:01:42 -08:00
#endif /* CONTROLLERS_TRIGGER_DECODERS_TRIGGER_UNIVERSAL_H_ */