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

Mitsubishi 4G63 / NA/NB Miata + MX-5 / 4/2 decoder. 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::fourg63
 

Functions

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

Detailed Description

Mitsubishi 4G63 / NA/NB Miata + MX-5 / 4/2 decoder.

Note
raw.githubusercontent.com/noisymime/speeduino/master/reference/wiki/decoders/4g63_trace.png

Tooth #1 is defined as the next crank tooth after the crank signal is HIGH when the cam signal is falling. Tooth number one is at 355* ATDC.