GM/Daewoo 60/2/2/2 Trigger Pattern #2264

This commit is contained in:
rusefillc 2021-02-01 23:44:14 -05:00
parent 8ea531c129
commit 782ae69cc3
2 changed files with 5 additions and 4 deletions

View File

@ -9,5 +9,6 @@
#include "trigger_structure.h"
void configureGm60_2_2_2(TriggerWaveform *s);
void configureGmTriggerWaveform(TriggerWaveform *s);
void initGmLS24(TriggerWaveform *s);

View File

@ -217,20 +217,20 @@ public:
bool useOnlyRisingEdgeForTriggerTemp;
/* 0..1 angle range */
/* (0..1] angle range */
void addEvent(angle_t angle, trigger_wheel_e const channelIndex, trigger_value_e const state);
/* 0..720 angle range
/* (0..720] angle range
* Deprecated!
*/
void addEvent720(angle_t angle, trigger_wheel_e const channelIndex, trigger_value_e const state);
/**
* This version of 'addEvent...' family considers the angle duration of operationMode in this trigger
* For example, 0..180 for FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR
* For example, (0..180] for FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR
*/
void addEventAngle(angle_t angle, trigger_wheel_e const channelIndex, trigger_value_e const state);
/* 0..720 angle range
/* (0..720] angle range
* Deprecated?
*/
void addEventClamped(angle_t angle, trigger_wheel_e const channelIndex, trigger_value_e const stateParam, float filterLeft, float filterRight);