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

Yamaha Vmax 1990+ with 6 uneven teeth, triggering on the wide lobe. 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::vmax
 

Functions

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

Detailed Description

Yamaha Vmax 1990+ with 6 uneven teeth, triggering on the wide lobe.

Within the decoder code, the sync tooth is referred to as tooth #1. Derived from Harley and made to work on the Yamah Vmax. Trigger is based on 'CHANGE' so we get a signal on the up and downward edges of the lobe. This is required to identify the wide lobe.