Skip to content

FT4222 Function Index

aushacker edited this page May 21, 2020 · 10 revisions

Functions provided by the FTDI LibFt4222 library and their yad2xx support status.

General Functions

Function Name Since Implemented By
FT4222_UnInitialize 2.1 FT4222Device.unInitialize()
FT4222_SetClock 2.1 FT4222Device.setClock()
FT4222_GetClock 2.1 FT4222Device.getClock()
FT4222_SetSuspendOut 2.1 FT4222Device.setSuspendOut()
FT4222_SetWakeUpInterrupt 2.1 FT4222Device.setWakeUpInterrupt()
FT4222_SetInterruptTrigger 2.1 FT4222Device.setInterruptTrigger()
FT4222_GetMaxTransferSize 2.1 FT4222Device.getMaxTransferSize()
FT4222_SetEventNotification Not implemented, SPI slave specific
FT4222_GetVersion 2.1 FT4222Device.getVersion()
FT4222_ChipReset 2.1 FT4222Device.chipReset()

SPI Master Functions

Function Name Since Implemented By
FT4222_SPIMaster_Init FT4222Device.spiMasterInit()
FT4222_SPIMaster_SetLines FT4222Device.spiMasterSetLines()
FT4222_SPIMaster_SingleRead FT4222Device.spiMasterSingleRead()
FT4222_SPIMaster_SingleWrite FT4222Device.spiMasterSingleWrite()
FT4222_SPIMaster_SingleReadWrite FT4222Device.spiMasterSingleReadWrite()
FT4222_SPIMaster_MultiReadWrite FT4222Device.spiMasterMultiReadWrite()

SPI Slave Functions

Not currently implemented.

SPI General Functions

Function Name Since Implemented By
FT4222_SPI_ResetTransaction FT4222Device.spiResetTransaction()
FT4222_SPI_Reset FT4222Device.spiReset()
FT4222_SPI_SetDrivingStrength FT4222Device.spiSetDrivingStrength()

I2C Master Functions

Function Name Since Implemented By
FT4222_I2CMaster_Init 2.1 FT4222Device.i2cMasterInit()
FT4222_I2CMaster_Read 2.1 FT4222Device.i2cMasterRead()
FT4222_I2CMaster_Write 2.1 FT4222Device.i2cMasterWrite()
FT4222_I2CMaster_WriteEx FT4222Device.i2cMasterWriteEx()
FT4222_I2CMaster_ReadEx FT4222Device.i2cMasterReadEx()
FT4222_I2CMaster_GetStatus FT4222Device.i2cMasterGetStatus()
FT4222_I2CMaster_Reset FT4222Device.i2cMasterReset()

I2C Slave Functions

Function Name Since Implemented By
FT4222_I2CSlave_Init FT4222Device.i2cSlaveInit()
FT4222_I2CSlave_GetAddress FT4222Device.i2cSlaveGetAddress()
FT4222_I2CSlave_SetAddress FT4222Device.i2cSlaveSetAddress()
FT4222_I2CSlave_GetRxStatus FT4222Device.i2cSlaveGetRxStatus()
FT4222_I2CSlave_Read FT4222Device.i2cSlaveRead()
FT4222_I2CSlave_Write FT4222Device.i2cSlaveWrite()
FT4222_I2CSlave_Reset FT4222Device.i2cSlaveReset()
FT4222_I2CSlave_SetClockStretch FT4222Device.i2cSlaveSetClockStretch()
FT4222_I2CSlave_SetRespWord FT4222Device.i2cSlaveSetRespWord()

GPIO Functions

Function Name Since Implemented By
FT4222_GPIO_Init FT4222Device.gpioInit()
FT4222_GPIO_Read FT4222Device.gpioRead()
FT4222_GPIO_Write FT4222Device.gpioWrite()
FT4222_GPIO_SetInputTrigger FT4222Device.gpioSetInputTrigger()
FT4222_GPIO_GetTriggerStatus FT4222Device.gpioGetTriggerStatus()
FT4222_GPIO_ReadTriggerQueue FT4222Device.gpioReadTriggerQueue()
FT4222_GPIO_SetWaveFormMode FT4222Device.gpioSetWaveFormMode()