Speeduino
Loading...
Searching...
No Matches
Namespaces | Functions
ngc.h File Reference

A decoder for vehicles with 4, 6 and 8 cylinder Chrysler NGC pattern. More...

#include "shared/decoder_state.h"
#include "config_pages.h"
#include "statuses.h"

Go to the source code of this file.

Namespaces

namespace  decoders
 
namespace  decoders::ngc
 

Functions

shared::state_t decoders::ngc::initialise (const config2 &page2, config4 &page4)
 
void decoders::ngc::triggerPrimary (uint32_t curTime, statuses &current, shared::state_t &decoderState, const config2 &page2, const config4 &page4)
 
void decoders::ngc::triggerSecondary4 (uint32_t curTime, const statuses &current, shared::state_t &decoderState, const config2 &page2, const config4 &page4)
 
void decoders::ngc::triggerSecondary68 (uint32_t curTime, shared::state_t &decoderState, const config2 &page2, const config4 &page4)
 
uint32_t decoders::ngc::getRevolutionTime (const statuses &current, const shared::state_t &decoderState, const config4 &page4)
 
void decoders::ngc::setEndTeeth (shared::state_t &decoderState, const config4 &page4)
 

Detailed Description

A decoder for vehicles with 4, 6 and 8 cylinder Chrysler NGC pattern.

The crank decoder uses the polarity of the missing teeth to determine position. The 4-cyl cam decoder uses the polarity of the missing teeth to determine position The 6 and 8-cyl cam decoder uses the amount of teeth in the two previous groups of teeth to determine position