Mcp3xxx Class

Definition

MCP family of ADC devices

public abstract class Mcp3xxx : Iot.Device.Adc.Mcp3Base
type Mcp3xxx = class
    inherit Mcp3Base
Public MustInherit Class Mcp3xxx
Inherits Mcp3Base
Inheritance
Mcp3xxx
Derived

Constructors

Mcp3xxx(SpiDevice, Byte, Byte)

Constructs Mcp3xxx instance

Fields

ChannelCount

the number of single ended input channel on the ADC

Methods

CheckChannelPairing(Int32, Int32)

Checks that the channel is in range of the available input channels and that both channels are part of a valid pairing of input channels.

CheckChannelRange(Int32, Int32)

Checks that the channel is in range of the available channels channels and throws an exception if not.

Dispose()

Disposes Mcp3Base instances

(Inherited from Mcp3Base)
Read(Int32)

Reads a value from the device

ReadDifferential(Int32, Int32)

Reads a value from the device using differential inputs

ReadInternal(Int32, Int32, Int32)

Reads a value from the device

(Inherited from Mcp3Base)
ReadInternal(Int32, Mcp3Base+InputType, Int32)

Reads a value from the device

ReadPseudoDifferential(Int32, Int32)

Reads a value from the device using pseudo-differential inputs

Applies to