Meadow.Foundation.ICs.IOExpanders.Ft2232
Ft2232 | |
---|---|
Status | |
Source code | GitHub |
Datasheet(s) | GitHub |
NuGet package |
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
Type | Name | Description |
---|---|---|
System.Int32 | channel | |
Meadow.Hardware.I2cBusSpeed | busSpeed | The bus speed |
CreateSpiBus(int, SpiClockConfiguration)
View Source
Declaration
public override ISpiBus CreateSpiBus(int channel, SpiClockConfiguration configuration)
Returns
Meadow.Hardware.ISpiBus
Parameters
Type | Name |
---|---|
System.Int32 | channel |
Meadow.Hardware.SpiClockConfiguration | configuration |
Implements
Meadow.Hardware.IDigitalInputOutputController
Meadow.Hardware.IDigitalInputController
Meadow.Hardware.ISpiController
Meadow.Hardware.IDigitalOutputController
Meadow.Hardware.II2cController
Meadow.Hardware.IPinController