Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
railcom.h
1
35#ifndef _DCC_RAILCOM_H_
36#define _DCC_RAILCOM_H_
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42typedef struct dcc_feedback
43{
45 uint8_t ch1Size;
47 uint8_t ch1Data[2];
49 uint8_t ch2Size;
51 uint8_t ch2Data[6];
54 uint8_t channel;
58 uintptr_t feedbackKey;
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif // _DCC_RAILCOM_H_
uint8_t ch2Size
Number of bytes in channel two.
Definition railcom.h:49
uint8_t ch1Size
Number of bytes in channel one.
Definition railcom.h:45
uint8_t channel
Used by multi-channel railcom receiver drivers.
Definition railcom.h:54
uintptr_t feedbackKey
Opaque identifier that allows linking outgoing dcc::Packet sent to the DCC waveform generator to the ...
Definition railcom.h:58