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

A decoder for Miata '99 to '05 with 4x 70 degree duration teeth running at cam speed. 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::miata9905
 

Functions

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

Detailed Description

A decoder for Miata '99 to '05 with 4x 70 degree duration teeth running at cam speed.

Teeth believed to be at the same angles as the 4g63 decoder. 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.

See also
www.forum.diyefi.org/viewtopic.php?f=56&t=1077