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

Decoder for Audi with 135 teeth on the crank and 1 tooth on the cam. 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::audi135
 

Functions

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

Detailed Description

Decoder for Audi with 135 teeth on the crank and 1 tooth on the cam.

This is very similar to the dual wheel decoder, however due to the 135 teeth not dividing evenly into 360, only every 3rd crank tooth is used in calculating the crank angle. This effectively makes it a 45 tooth dual wheel setup.