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

Basic Distributor where tooth count is equal to the number of cylinders and teeth are evenly spaced on the cam. 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::basic_distributor
 

Functions

shared::state_t decoders::basic_distributor::initialise (const config2 &page2)
 
void decoders::basic_distributor::triggerPrimary (uint32_t curTime, statuses &current, shared::state_t &decoderState, const config2 &page2, const config4 &page4)
 
uint32_t decoders::basic_distributor::getRevolutionTime (const statuses &current, shared::state_t &decoderState, const config2 &page2, const config4 &page4)
 
int16_t decoders::basic_distributor::getCrankAngle (uint32_t currMicros, const shared::state_t &decoderState, const config4 &page4)
 
void decoders::basic_distributor::setEndTeeth (shared::state_t &decoderState, const config2 &page2, const config4 &page4)
 

Detailed Description

Basic Distributor where tooth count is equal to the number of cylinders and teeth are evenly spaced on the cam.

No position sensing (Distributor is retained) so crank angle is a made up figure based purely on the first teeth to be seen.

Note
This is a very simple decoder. See http://www.megamanual.com/ms2/GM_7pinHEI.htm