Speeduino
Loading...
Searching...
No Matches
Classes | Enumerations | Variables
decoder_t.h File Reference
#include <stdint.h>
#include <Arduino.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  interrupt_t
 This structure represents a trigger interrupt. More...
 
struct  decoder_status_t
 Current decoder status. More...
 
struct  decoder_features_t
 
struct  decoder_t
 This structure represents a decoder configuration. More...
 

Enumerations

enum class  SyncStatus : uint8_t { None , Partial , Full }
 The decoder trigger status. More...
 

Variables

static constexpr uint8_t TRIGGER_EDGE_NONE = 99
 This constant represents no trigger edge.
 

Enumeration Type Documentation

◆ SyncStatus

The decoder trigger status.

Enumerator
None 

No trigger pulses are being received. Either loss of sync or engine has stopped

Partial 

Primary & secondary triggers are configured, but we are only receiving pulses from the primary. Not a valid state if no secondary trigger is configured

Full 

We are receiving pulses from both primary & secondary (where specified) triggers

Variable Documentation

◆ TRIGGER_EDGE_NONE

constexpr uint8_t TRIGGER_EDGE_NONE = 99
staticconstexpr

This constant represents no trigger edge.