Skip to main content

Class Ft2232

Represents an FT2232 USB IO expander

Assembly: Ft2xxx.dll
View Source
Declaration
public class Ft2232 : FtdiExpander, IDigitalInputOutputController, IDigitalInputController, ISpiController, IDigitalOutputController, II2cController, IPinController

Inheritance: System.Object -> Meadow.Foundation.ICs.IOExpanders.FtdiExpander

Implements:
Meadow.Hardware.IDigitalInputOutputController, Meadow.Hardware.IDigitalInputController, Meadow.Hardware.ISpiController, Meadow.Hardware.IDigitalOutputController, Meadow.Hardware.II2cController, Meadow.Hardware.IPinController

Methods

CreateI2cBus(int, I2cBusSpeed)

Creates an I2C bus instance for the default pins and the requested bus speed

View Source
Declaration
public override II2cBus CreateI2cBus(int channel = 0, I2cBusSpeed busSpeed = I2cBusSpeed.Standard)
Returns

Meadow.Hardware.II2cBus: An instance of an I2cBus

Parameters
TypeNameDescription
System.Int32channel
Meadow.Hardware.I2cBusSpeedbusSpeedThe bus speed

CreateSpiBus(int, SpiClockConfiguration)

View Source
Declaration
public override ISpiBus CreateSpiBus(int channel, SpiClockConfiguration configuration)
Returns

Meadow.Hardware.ISpiBus

Parameters
TypeName
System.Int32channel
Meadow.Hardware.SpiClockConfigurationconfiguration

Implements

  • Meadow.Hardware.IDigitalInputOutputController
  • Meadow.Hardware.IDigitalInputController
  • Meadow.Hardware.ISpiController
  • Meadow.Hardware.IDigitalOutputController
  • Meadow.Hardware.II2cController
  • Meadow.Hardware.IPinController