Skip to main content

Class Mcp4922.PinDefinitions

Represents the pin definitions for the MCP4922 DAC.

Assembly: Mcp492x.dll
View Source
public class Mcp4922.PinDefinitions : IPinDefinitions, IEnumerable<IPin>, IEnumerable

Implements:
Meadow.Hardware.IPinDefinitions, System.Collections.Generic.IEnumerable<Meadow.Hardware.IPin>, System.Collections.IEnumerable

Properties

DACPrecisionBits

Analog-digital converter precision

View Source
public virtual byte DACPrecisionBits { get; }

AllPins

Collection of pins

View Source
public IList<IPin> AllPins { get; }

Controller

The pin controller

View Source
public IPinController? Controller { get; set; }

ChannelA

Channel A pin

View Source
public IPin ChannelA { get; }

ChannelB

Channel B pin

View Source
public IPin ChannelB { get; }

Methods

GetEnumerator()

Get Enumerator

View Source
public IEnumerator<IPin> GetEnumerator()
Returns

System.Collections.Generic.IEnumerator<Meadow.Hardware.IPin>

Implements

  • Meadow.Hardware.IPinDefinitions
  • System.Collections.Generic.IEnumerable<Meadow.Hardware.IPin>
  • System.Collections.IEnumerable