Skip to main content

Class FtdiExpander.PinDefinitions

Defines the pin definitions for the Ft232h IC.

Assembly: Ft232h.dll
View Source
Declaration
public class FtdiExpander.PinDefinitions : IPinDefinitions, IEnumerable<IPin>, IEnumerable

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

Properties

AllPins

Collection of all pins.

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

Controller

The pin controller

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

SPI_SCK

Gets the IPin representing the SPI clock (SCK) pin.

View Source
Declaration
public IPin SPI_SCK { get; }

SPI_COPI

Gets the IPin representing the SPI data out (COPI) pin.

View Source
Declaration
public IPin SPI_COPI { get; }

SPI_CIPO

Gets the IPin representing the SPI data in (CIPO) pin.

View Source
Declaration
public IPin SPI_CIPO { get; }

SPI_CS0

Gets the IPin representing the SPI chip select (CS0) pin.

View Source
Declaration
public IPin SPI_CS0 { get; }

I2C_SCL

Gets the IPin representing the I2C clock (SCL) pin.

View Source
Declaration
public IPin I2C_SCL { get; }

I2C_SDA

Gets the IPin representing the I2C data (SDA) pin.

View Source
Declaration
public IPin I2C_SDA { get; }

D0

Pin D0 definition.

View Source
Declaration
public IPin D0 { get; }

D1

Pin D1 definition.

View Source
Declaration
public IPin D1 { get; }

D2

Pin D2 definition.

View Source
Declaration
public IPin D2 { get; }

D3

Pin D3 definition.

View Source
Declaration
public IPin D3 { get; }

D4

Pin D4 definition.

View Source
Declaration
public IPin D4 { get; }

D5

Pin D5 definition.

View Source
Declaration
public IPin D5 { get; }

D6

Pin D6 definition.

View Source
Declaration
public IPin D6 { get; }

D7

Pin D7 definition.

View Source
Declaration
public IPin D7 { get; }

SPI_COPI_D1

Pin SPI_COPI_D1 definition.

View Source
Declaration
public IPin SPI_COPI_D1 { get; }

C0

Pin C0 definition.

View Source
Declaration
public IPin C0 { get; }

C1

Pin C1 definition.

View Source
Declaration
public IPin C1 { get; }

C2

Pin C2 definition.

View Source
Declaration
public IPin C2 { get; }

C3

Pin C3 definition.

View Source
Declaration
public IPin C3 { get; }

C4

Pin C4 definition.

View Source
Declaration
public IPin C4 { get; }

C5

Pin C5 definition.

View Source
Declaration
public IPin C5 { get; }

C6

Pin C6 definition.

View Source
Declaration
public IPin C6 { get; }

C7

Pin C7 definition.

View Source
Declaration
public IPin C7 { get; }

Methods

GetEnumerator()

Gets an enumerator for all the pins.

View Source
Declaration
public IEnumerator<IPin> GetEnumerator()
Returns

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

InitAllPins()

Initializes all Ft23xxx pins.

View Source
Declaration
protected void InitAllPins()

Implements

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