Struct AnalogDataPayload
Represents the payload of the AnalogData register.
public struct AnalogDataPayload
- Inherited Members
Constructors
AnalogDataPayload(ushort, ushort, ushort, ushort, ushort)
Initializes a new instance of the AnalogDataPayload structure.
public AnalogDataPayload(ushort adc0, ushort adc1, ushort attenuationLeft, ushort attenuationRight, ushort frequency)
Parameters
adc0
ushortThe sampled analog input value on ADC0.
adc1
ushortThe sampled analog input value on ADC1.
attenuationLeft
ushortThe amplitude of the left channel controlled by ADC0.
attenuationRight
ushortThe amplitude of the right channel controlled by ADC0.
frequency
ushortThe output frequency controlled by ADC1.
Fields
Adc0
The sampled analog input value on ADC0.
public ushort Adc0
Field Value
Adc1
The sampled analog input value on ADC1.
public ushort Adc1
Field Value
AttenuationLeft
The amplitude of the left channel controlled by ADC0.
public ushort AttenuationLeft
Field Value
AttenuationRight
The amplitude of the right channel controlled by ADC0.
public ushort AttenuationRight
Field Value
Frequency
The output frequency controlled by ADC1.
public ushort Frequency