Mcp3xxx Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for