Struct AnalogDataPayload
Represents the payload of the AnalogData register.
public struct AnalogDataPayload
- Inherited Members
Constructors
AnalogDataPayload(short, short, short)
Initializes a new instance of the AnalogDataPayload structure.
public AnalogDataPayload(short analogInput0, short encoder, short analogInput1)
Parameters
analogInput0
shortThe voltage at the output of the ADC channel 0.
encoder
shortThe quadrature counter value on Port 2
analogInput1
shortThe voltage at the output of the ADC channel 1.
Fields
AnalogInput0
The voltage at the output of the ADC channel 0.
public short AnalogInput0
Field Value
AnalogInput1
The voltage at the output of the ADC channel 1.
public short AnalogInput1
Field Value
Encoder
The quadrature counter value on Port 2
public short Encoder