Ft2232HDevice 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.
FT232H Device
public class Ft2232HDevice : Iot.Device.FtCommon.Ftx232HDevice
type Ft2232HDevice = class
inherit Ftx232HDevice
Public Class Ft2232HDevice
Inherits Ftx232HDevice
- Inheritance
Constructors
Ft2232HDevice(FtDevice) |
Instantiates a FT2232H device object. |
Ft2232HDevice(FtFlag, FtDeviceType, UInt32, UInt32, String, String) |
Instantiates a FT2232H device object. |
Properties
Channel |
Gets the channel. (Inherited from Ftx232HDevice) |
DefaultPinNumberingScheme |
The default pin numbering scheme for this board. (Inherited from Board) |
Description |
The device description. (Inherited from FtDevice) |
Disposed |
True if this instance is disposed. Any attempt to use it after this becomes true results in undefined behavior. (Inherited from Board) |
Flags |
Indicates device state. Can be any combination of the following: FT_FLAGS_OPENED, FT_FLAGS_HISPEED (Inherited from FtDevice) |
I2cBusFrequencyKbps |
Gets or sets the I2C Bus frequency. Default value is 400 KHz. (Inherited from Ftx232HDevice) |
Id |
The Vendor ID and Product ID of the device. (Inherited from FtDevice) |
Initialized |
True if the board instance is initialized (Inherited from Board) |
LocId |
The physical location identifier of the device. (Inherited from FtDevice) |
PinCount |
Gets the number of pins for this specific FT device. (Inherited from Ftx232HDevice) |
SerialNumber |
The device serial number. (Inherited from FtDevice) |
Type |
Indicates the device type. Can be one of the following: FT_DEVICE_232R, FT_DEVICE_2232C, FT_DEVICE_BM, FT_DEVICE_AM, FT_DEVICE_100AX or FT_DEVICE_UNKNOWN (Inherited from FtDevice) |
Methods
ActivatePinMode(Int32, PinUsage) |
Override this method if something special needs to be done to use the pin for the given device. Many devices support multiple functions per Pin, but not at the same time, so that some kind of multiplexer needs to be set accordingly. (Inherited from Board) |
CreateGpioController() |
Return an instance of a GpioController for the current board (Inherited from Board) |
CreateI2cBusCore(Int32, Int32[]) |
Creates I2C bus related to this device (Inherited from Ftx232HDevice) |
CreateI2cDevice(I2cConnectionSettings) |
Create an I2C device instance on a default bus. (Inherited from Board) |
CreateOrGetI2cBus(Int32, Int32[]) |
Create an I2C bus instance or return the existing instance for this bus (Inherited from Board) |
CreateOrGetI2cBus(Int32) |
Create an I2C bus instance or return the existing instance for this bus (Inherited from Board) |
CreatePwmChannel(Int32, Int32, Int32, Double, Int32, PinNumberingScheme) |
Creates a PWM channel (Inherited from Board) |
CreatePwmChannel(Int32, Int32, Int32, Double) |
Creates a PWM channel for the default pin assignment (Inherited from Board) |
CreateSimplePwmChannel(Int32, Int32, Int32, Double) |
Overriden by derived implementations to provide the PWM device (Inherited from FtDevice) |
CreateSimpleSpiDevice(SpiConnectionSettings, Int32[]) |
Creates SPI device related to this device (Inherited from Ftx232HDevice) |
CreateSpiDevice(SpiConnectionSettings, Int32[], PinNumberingScheme) |
Create an SPI device instance (Inherited from Board) |
CreateSpiDevice(SpiConnectionSettings) |
Create an SPI device instance (Inherited from Board) |
DetermineCurrentPinUsage(Int32) |
Returns the current usage of a pin (Inherited from Board) |
Dispose() | (Inherited from Board) |
Dispose(Boolean) |
Dispose FTx232H device. (Inherited from Ftx232HDevice) |
GetDefaultI2cBusNumber() |
Creates the default I2C bus for this board or returns the existing bus (Inherited from Ftx232HDevice) |
GetDefaultPinAssignmentForI2c(Int32) |
Overriden by derived classes: Provides the default pin assignment for the given I2C bus (Inherited from Ftx232HDevice) |
GetDefaultPinAssignmentForPwm(Int32, Int32) |
Overriden by derived class. Provides the default pin for a given channel. (Inherited from FtDevice) |
GetDefaultPinAssignmentForSpi(SpiConnectionSettings) |
Overriden by derived classes: Provides the default pin assignment for the given SPI bus (Inherited from Ftx232HDevice) |
GetFt2232H() |
Gets all the FT2232H connected |
GetPinNumberFromString(String) |
Gets the pin number from a string |
Initialize() |
Initialize the board and test whether it works on the current hardware. (Inherited from Board) |
QueryComponentInformation() |
Query information about a component and its children. (Inherited from FtDevice) |
ReleasePin(Int32, PinUsage, Object) |
Removes the reservation for a pin. See ReservePin(Int32, PinUsage, Object) for details. (Inherited from Board) |
ReservePin(Int32, PinUsage, Object) |
Reserves a pin for a specific usage. This is done automatically if a known interface (i.e. GpioController) is used to open the pin, but may be used to block a pin explicitly, i.e. for UART. (Inherited from Board) |
Reset() |
Resets the device. (Inherited from Ftx232HDevice) |
TryCreateBestGpioDriver() |
Creates the Ft232HGpio controller (Inherited from Ftx232HDevice) |