Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
DCCFeedback Struct Reference
Inheritance diagram for DCCFeedback:
dcc::Feedback

Public Attributes

uint8_t ch1Size
 Number of bytes in channel one.
 
uint8_t ch1Data [2]
 Payload of channel 1.
 
uint8_t ch2Size
 Number of bytes in channel two.
 
uint8_t ch2Data [6]
 Payload of channel 2.
 
uint8_t channel
 Used by multi-channel railcom receiver drivers.
 
uintptr_t feedbackKey
 Opaque identifier that allows linking outgoing dcc::Packet sent to the DCC waveform generator to the incoming dcc::Feedback structure read back from the railcom driver.
 

Detailed Description

Definition at line 42 of file railcom.h.

Member Data Documentation

◆ ch1Data

uint8_t DCCFeedback::ch1Data[2]

Payload of channel 1.

Definition at line 47 of file railcom.h.

◆ ch1Size

uint8_t DCCFeedback::ch1Size

Number of bytes in channel one.

Definition at line 45 of file railcom.h.

◆ ch2Data

uint8_t DCCFeedback::ch2Data[6]

Payload of channel 2.

Definition at line 51 of file railcom.h.

◆ ch2Size

uint8_t DCCFeedback::ch2Size

Number of bytes in channel two.

Definition at line 49 of file railcom.h.

◆ channel

uint8_t DCCFeedback::channel

Used by multi-channel railcom receiver drivers.

Specifies which hardware channel captured this data.

Definition at line 54 of file railcom.h.

◆ feedbackKey

uintptr_t DCCFeedback::feedbackKey

Opaque identifier that allows linking outgoing dcc::Packet sent to the DCC waveform generator to the incoming dcc::Feedback structure read back from the railcom driver.

Definition at line 58 of file railcom.h.


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