rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Structures | Functions
trigger_decoder.h File Reference

Detailed Description

Date
Dec 24, 2013
Author
Andrey Belomutskiy, (c) 2012-2020

Definition in file trigger_decoder.h.

Data Structures

struct  TriggerStateListener
 
class  TriggerConfiguration
 
class  PrimaryTriggerConfiguration
 
class  VvtTriggerConfiguration
 
struct  current_cycle_state_s
 
struct  TriggerDecodeResult
 
class  TriggerDecoderBase
 
class  PrimaryTriggerDecoder
 
class  VvtTriggerDecoder
 

Functions

const chargetTrigger_event_e (trigger_event_e value)
 
const chargetTrigger_value_e (TriggerValue value)
 
angle_t getEngineCycle (operation_mode_e operationMode)
 

Function Documentation

◆ getEngineCycle()

angle_t getEngineCycle ( operation_mode_e  operationMode)
See also
getCycleDuration

Definition at line 15 of file trigger_universal.cpp.

15 {
16 return operationMode == TWO_STROKE ? 360 : FOUR_STROKE_ENGINE_CYCLE;
17}
@ TWO_STROKE

Referenced by TriggerWaveform::addEventClamped(), HpfpLobe::findNextLobe(), TriggerWaveform::getLength(), initializeSkippedToothTrigger(), prepareIgnitionSchedule(), prepareOutputSignals(), Engine::reset(), rpmShaftPositionCallback(), and TriggerCentral::syncEnginePhaseAndReport().

Here is the caller graph for this function:

◆ getTrigger_event_e()

const char * getTrigger_event_e ( trigger_event_e  value)

Definition at line 276 of file trigger_decoder.cpp.

276 {
277switch(value) {
279 return "SHAFT_PRIMARY_FALLING";
281 return "SHAFT_PRIMARY_RISING";
283 return "SHAFT_SECONDARY_FALLING";
285 return "SHAFT_SECONDARY_RISING";
286 }
287 return NULL;
288}
@ SHAFT_SECONDARY_RISING
@ SHAFT_SECONDARY_FALLING
@ SHAFT_PRIMARY_FALLING
@ SHAFT_PRIMARY_RISING

Referenced by TriggerDecoderBase::decodeTriggerEvent().

Here is the caller graph for this function:

◆ getTrigger_value_e()

const char * getTrigger_value_e ( TriggerValue  value)

Definition at line 289 of file trigger_decoder.cpp.

289 {
290switch(value) {
292 return "TriggerValue::FALL";
294 return "TriggerValue::RISE";
295 }
296 return NULL;
297}

Referenced by TriggerWaveform::addEvent().

Here is the caller graph for this function:

Go to the source code of this file.