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

DSM 420a, For the DSM Eclipse with 16 teeth total on the crank. 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::dsm420a
 

Functions

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

Detailed Description

DSM 420a, For the DSM Eclipse with 16 teeth total on the crank.

Tracks the falling side of the signal. Sync is determined by watching for a falling edge on the secondary signal and checking if the primary signal is high then.

See also
https://github.com/noisymime/speeduino/issues/133