Table of Contents

Struct AnalogDataPayload

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

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 ushort

The sampled analog input value on ADC0.

adc1 ushort

The sampled analog input value on ADC1.

attenuationLeft ushort

The amplitude of the left channel controlled by ADC0.

attenuationRight ushort

The amplitude of the right channel controlled by ADC0.

frequency ushort

The output frequency controlled by ADC1.

Fields

Adc0

The sampled analog input value on ADC0.

public ushort Adc0

Field Value

ushort

Adc1

The sampled analog input value on ADC1.

public ushort Adc1

Field Value

ushort

AttenuationLeft

The amplitude of the left channel controlled by ADC0.

public ushort AttenuationLeft

Field Value

ushort

AttenuationRight

The amplitude of the right channel controlled by ADC0.

public ushort AttenuationRight

Field Value

ushort

Frequency

The output frequency controlled by ADC1.

public ushort Frequency

Field Value

ushort