Speeduino
Loading...
Searching...
No Matches
Macros | Functions
Collaboration diagram for Renix decoder:

Macros

#define renixSystemLastToothTime   toothLastToothRisingTime
 
#define renixSystemLastMinusOneToothTime   toothLastSecToothRisingTime
 

Functions

static void triggerPri_Renix (void)
 
static uint16_t calcEndTeeth_Renix (int ignitionAngle, uint8_t toothAdder)
 
static void triggerSetEndTeeth_Renix (void)
 
decoder_t triggerSetup_Renix (void)
 

Detailed Description

Renix 44-2-2 and 66-2-2-2 decoder.
Renix trigger wheel doesn't decode into 360 degrees nicely (360/44 = 8.18 degrees or 360/66 = 5.454545). Speeduino can't handle any teeth that have a decimal point. Solution is to count teeth, every 11 teeth = a proper angle. For 66 tooth decoder its 60 degrees per 11 teeth, for 44 tooth decoder its 90 degrees per 11 teeth. This means the system sees 4 teeth on the 44 tooth wheel and 6 teeth on the 66 tooth wheel. Double missing tooth in the pattern is actually a large tooth and a large gap. If the trigger is set to rising you'll see the start of the large tooth then the gap. If its not set to rising the code won't work due to seeing two gaps

Macro Definition Documentation

◆ renixSystemLastMinusOneToothTime

#define renixSystemLastMinusOneToothTime   toothLastSecToothRisingTime

◆ renixSystemLastToothTime

#define renixSystemLastToothTime   toothLastToothRisingTime

Function Documentation

◆ calcEndTeeth_Renix()

static uint16_t calcEndTeeth_Renix ( int  ignitionAngle,
uint8_t  toothAdder 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ triggerPri_Renix()

static void triggerPri_Renix ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ triggerSetEndTeeth_Renix()

static void triggerSetEndTeeth_Renix ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ triggerSetup_Renix()

decoder_t triggerSetup_Renix ( void  )
Here is the call graph for this function:
Here is the caller graph for this function: