Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
dcc::DccDecoder::Timing Struct Reference

Represents the timing of a half-wave of the digital track signal. More...

Public Member Functions

void set (uint32_t tick_per_usec, int min_usec, int max_usec)
 
bool match (uint32_t value_clocks) const
 

Public Attributes

uint32_t min_value
 
uint32_t max_value
 

Detailed Description

Represents the timing of a half-wave of the digital track signal.

Definition at line 400 of file Receiver.hxx.

Member Function Documentation

◆ match()

bool dcc::DccDecoder::Timing::match ( uint32_t  value_clocks) const
inline

Definition at line 422 of file Receiver.hxx.

◆ set()

void dcc::DccDecoder::Timing::set ( uint32_t  tick_per_usec,
int  min_usec,
int  max_usec 
)
inline

Definition at line 402 of file Receiver.hxx.

Member Data Documentation

◆ max_value

uint32_t dcc::DccDecoder::Timing::max_value

Definition at line 428 of file Receiver.hxx.

◆ min_value

uint32_t dcc::DccDecoder::Timing::min_value

Definition at line 427 of file Receiver.hxx.


The documentation for this struct was generated from the following file: