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

GM 7X trigger wheel decoder with six equally spaced teeth and a seventh tooth for cylinder identification. 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::gm7x
 

Functions

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

Detailed Description

GM 7X trigger wheel decoder with six equally spaced teeth and a seventh tooth for cylinder identification.

Note
Within the decoder code, the sync tooth is referred to as tooth #3 rather than tooth #7. This makes for simpler angle calculations (See: http://www.speeduino.com/forum/download/file.php?id=4743 ).