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

Harley Davidson (V2) with 2 unevenly Spaced Teeth. 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::harley
 

Functions

shared::state_t decoders::harley::initialise (uint32_t curMicros, const statuses &current)
 
void decoders::harley::triggerPrimary (uint32_t curTime, statuses &current, shared::state_t &decoderState, const config4 &page4)
 
uint32_t decoders::harley::getRevolutionTime (const statuses &current, const shared::state_t &decoderState)
 
int16_t decoders::harley::getCrankAngle (uint32_t currMicros, const shared::state_t &decoderState, const config4 &page4)
 

Detailed Description

Harley Davidson (V2) with 2 unevenly Spaced Teeth.

Within the decoder code, the sync tooth is referred to as tooth #1. Derived from GMX7 and adapted for Harley. Only rising Edge is used for simplicity. The second input is ignored, as it does not help to resolve cam position.