public static class FTD3XX.Constants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CHIP_CONFIGURATION_BATTERYCHARGING_GPIOCONFIG
Default value for the Battery Charging GPIO config element of the Chip Configuration class
|
static int |
CHIP_CONFIGURATION_CHANNEL_CONFIG_1
1 channel configuration
|
static int |
CHIP_CONFIGURATION_CHANNEL_CONFIG_1_INPIPE
1 channel configuration with only an input endpoint
|
static int |
CHIP_CONFIGURATION_CHANNEL_CONFIG_1_OUTPIPE
1 channel configuration with only an output endpoint
|
static int |
CHIP_CONFIGURATION_CHANNEL_CONFIG_2
2 channel configuration
|
static int |
CHIP_CONFIGURATION_CHANNEL_CONFIG_4
4 channel configuration
|
static int |
CHIP_CONFIGURATION_FIFO_CLK_100
Fifo clock 100 MHz
|
static int |
CHIP_CONFIGURATION_FIFO_CLK_66
Fifo clock 66 MHz
|
static int |
CHIP_CONFIGURATION_FIFO_MODE_245
Fifo mode 245 protocol
|
static int |
CHIP_CONFIGURATION_FIFO_MODE_600
Fifo mode 600 protocol
|
static int |
CHIP_CONFIGURATION_FLASH_ROM_BIT_CUSTOM
Bit that indicates if custom configuration is used
|
static int |
CHIP_CONFIGURATION_FLASH_ROM_BIT_CUSTOMDATA_INVALID
Bit that indicates if custom configuration is invalid
|
static int |
CHIP_CONFIGURATION_FLASH_ROM_BIT_CUSTOMDATACHKSUM_INVALID
Bit that indicates if custom configuration checksum is invalid
|
static int |
CHIP_CONFIGURATION_FLASH_ROM_BIT_GPIO_0
Bit that indicates if value of GPIO 0 when GPIOs are used for custom configuration
|
static int |
CHIP_CONFIGURATION_FLASH_ROM_BIT_GPIO_1
Bit that indicates if value of GPIO 1 when GPIOs are used for custom configuration
|
static int |
CHIP_CONFIGURATION_FLASH_ROM_BIT_GPIO_INPUT
Bit that indicates if GPIOs are used for custom configuration
|
static int |
CHIP_CONFIGURATION_FLASH_ROM_BIT_MEMORY_NOTEXIST
Bit that indicates if memory exists
|
static int |
CHIP_CONFIGURATION_FLASH_ROM_BIT_ROM
Bit that indicates if ROM (or FLASH) version
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLECANCELSESSIONUNDERRUN
Bit flag to disable cancel session underrun in the optional feature element of the Chip Configuration class
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCH1
Bit flag to enable disable underrun for the input endpoint of the 1st channel
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCH2
Bit flag to enable disable underrun for the input endpoint of the 2nd channel
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCH3
Bit flag to enable disable underrun for the input endpoint of the 3rd channel
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCH4
Bit flag to enable disable underrun for the input endpoint of the 4th channel
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCHALL
Bit flag to enable disable underrun for the input endpoint of all the channels
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLEBATTERYCHARGING
Bit flag to enable battery charging in the optional feature element of the Chip Configuration class
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCH1
Bit flag to enable notification message for the input endpoint of the 1st channel
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCH2
Bit flag to enable notification message for the input endpoint of the 2nd channel
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCH3
Bit flag to enable notification message for the input endpoint of the 3rd channel
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCH4
Bit flag to enable notification message for the input endpoint of the 4th channel
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCHALL
Bit flag to enable notification message for the input endpoint of all the channels
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_CUSTOM
Bit flag that indicates if data is CUSTOM or DEFAULT
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_CUSTOMDATA_INVALID
Bit flag that indicates if CUSTOMDATA is invalid
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_CUSTOMDATACHKSUM_INVALID
Bit flag that indicates if CUSTOMDATA checksum is invalid
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_GPIO_0
Bit flag that indicates status of GPIO 0
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_GPIO_1
Bit flag that indicates status of GPIO 1
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_GPIO_INPUT
Bit flag that indicates if GPIO is used for INPUT for chip configuration
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_MEMORY_NOTEXIST
Bit flag that indicates if MEMORY does not exist
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_ROM
Bit flag that indicates if ROM or FLASH is used
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_SUPPORT_DISABLE_CHIP_POWERDOWN
Bit flag to disable USB device power down on unplug if self-powered
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_SUPPORT_ENABLE_BITBANG_MODE
Bit flag that indicates if device is in GPIO bitbang mode
|
static int |
CHIP_CONFIGURATION_OPTIONAL_FEATURE_SUPPORT_ENABLE_FIFO_IN_SUSPEND
Bit flag to enable fifo clock during USB device suspend.
|
static int |
CHIP_CONFIGURATION_POWER_ATTRIBUTES_REMOTEWAKEUP
Bit mask that indicates if remote wakeup is enabled in the power attributes element of the Chip Configuration class
|
static int |
CHIP_CONFIGURATION_POWER_ATTRIBUTES_SELFPOWERED
Bit mask that indicates if self-powered is enabled in the power attributes element of the Chip Configuration class
|
static int |
CHIP_CONFIGURATION_SIZE
Size of the elements of the Chip Configuration class
|
static int |
CONTROL_TRANSFER_DIR_IN
Control transfer requesting data to be transferred
|
static int |
CONTROL_TRANSFER_DIR_OUT
Control transfer containing data to transfer
|
static int |
CONTROL_TRANSFER_REC_DEVICE
Control transfer for device
|
static int |
CONTROL_TRANSFER_REC_ENDPOINT
Control transfer for endpoint
|
static int |
CONTROL_TRANSFER_REC_INTERFACE
Control transfer for interface
|
static int |
CONTROL_TRANSFER_REC_OTHER
Control transfer for others
|
static int |
CONTROL_TRANSFER_TYPE_CLASS
Control transfer for Class-specific data
|
static int |
CONTROL_TRANSFER_TYPE_STANDARD
Control transfer for Standard-specific data
|
static int |
CONTROL_TRANSFER_TYPE_VENDOR
Control transfer for Vendor-specific data
|
static int |
GPIO_0
Bit mask for the 1st GPIO
|
static int |
GPIO_1
Bit mask for the 2nd GPIO
|
static int |
GPIO_2
Bit mask for the 3rd GPIO (currently exposed on bitbang mode only)
|
static int |
INTERFACE_DATA
Interface index for user data communication
|
static int |
INTERFACE_SESSION
Interface index for session communication
|
static int |
PIPE_BULK_MAX_PACKET_SIZE_USB3
Maximum transfer size for bulk pipes when using USB 3 connection
|
static int |
PIPE_ID_ALL
Endpoint id to use if targeting all input and output transfers
|
static int |
PIPE_ID_BASE_READ
First endpoint id for input transfers
|
static int |
PIPE_ID_BASE_WRITE
First endpoint id for output transfers
|
static int |
PIPE_ID_READ_DIR_MASK
Direction mask to determine if endpoint is for input or output transfers
|
static int |
PIPE_INTERRUPT_MAX_PACKET_SIZE_USB3
Maximum transfer size for bulk pipes when using USB 2 connection
|
static int |
PIPE_STREAMING_DEFAULT_SIZE
Default streaming size to use
|
static int |
PIPE_TYPE_BULK
Bulk endpoint type
|
static int |
PIPE_TYPE_CONTROL
Control endpoint type (endpoint zero)
|
static int |
PIPE_TYPE_INTERRUPT
Interrupt endpoint type
|
static int |
PIPE_TYPE_ISOCHRONOUS
Isochronous endpoint type
|
static int |
STRING_DESCRIPTOR_DESCRIPTION_MAX_LEN
Maximum size of the Description string in the string descriptor element of the Chip Configuration class
|
static int |
STRING_DESCRIPTOR_MANUFACTURER_MAX_LEN
Maximum size of the Manufacture string in the string descriptor element of the Chip Configuration class
|
static int |
STRING_DESCRIPTOR_SERIALNUMBER_MAX_LEN
Maximum size of the Serial Number string in the string descriptor element of the Chip Configuration class
|
static int |
STRING_DESCRIPTOR_SIZE
Size for the string descriptor element of the Chip Configuration class
|
| Constructor and Description |
|---|
Constants() |
public static final int PIPE_TYPE_CONTROL
public static final int PIPE_TYPE_ISOCHRONOUS
public static final int PIPE_TYPE_BULK
public static final int PIPE_TYPE_INTERRUPT
public static final int PIPE_BULK_MAX_PACKET_SIZE_USB3
public static final int PIPE_INTERRUPT_MAX_PACKET_SIZE_USB3
public static final int PIPE_ID_READ_DIR_MASK
public static final int PIPE_ID_BASE_WRITE
public static final int PIPE_ID_BASE_READ
public static final int PIPE_ID_ALL
public static final int PIPE_STREAMING_DEFAULT_SIZE
public static final int INTERFACE_SESSION
public static final int INTERFACE_DATA
public static final int STRING_DESCRIPTOR_SIZE
public static final int STRING_DESCRIPTOR_MANUFACTURER_MAX_LEN
public static final int STRING_DESCRIPTOR_DESCRIPTION_MAX_LEN
public static final int STRING_DESCRIPTOR_SERIALNUMBER_MAX_LEN
public static final int CHIP_CONFIGURATION_SIZE
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLEBATTERYCHARGING
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLECANCELSESSIONUNDERRUN
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCH1
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCH2
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCH3
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCH4
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_ENABLENOTIFICATIONMESSAGE_INCHALL
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCH1
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCH2
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCH3
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCH4
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCHALL
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_SUPPORT_ENABLE_FIFO_IN_SUSPEND
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_SUPPORT_DISABLE_CHIP_POWERDOWN
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_SUPPORT_ENABLE_BITBANG_MODE
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_ROM
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_MEMORY_NOTEXIST
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_CUSTOMDATA_INVALID
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_CUSTOMDATACHKSUM_INVALID
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_CUSTOM
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_GPIO_INPUT
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_GPIO_0
public static final int CHIP_CONFIGURATION_OPTIONAL_FEATURE_FLASH_ROM_BIT_GPIO_1
public static final int CHIP_CONFIGURATION_POWER_ATTRIBUTES_REMOTEWAKEUP
public static final int CHIP_CONFIGURATION_POWER_ATTRIBUTES_SELFPOWERED
public static final int CHIP_CONFIGURATION_BATTERYCHARGING_GPIOCONFIG
public static final int CHIP_CONFIGURATION_FIFO_CLK_100
public static final int CHIP_CONFIGURATION_FIFO_CLK_66
public static final int CHIP_CONFIGURATION_FIFO_MODE_245
public static final int CHIP_CONFIGURATION_FIFO_MODE_600
public static final int CHIP_CONFIGURATION_CHANNEL_CONFIG_4
public static final int CHIP_CONFIGURATION_CHANNEL_CONFIG_2
public static final int CHIP_CONFIGURATION_CHANNEL_CONFIG_1
public static final int CHIP_CONFIGURATION_CHANNEL_CONFIG_1_OUTPIPE
public static final int CHIP_CONFIGURATION_CHANNEL_CONFIG_1_INPIPE
public static final int GPIO_0
public static final int GPIO_1
public static final int GPIO_2
public static final int CHIP_CONFIGURATION_FLASH_ROM_BIT_ROM
public static final int CHIP_CONFIGURATION_FLASH_ROM_BIT_MEMORY_NOTEXIST
public static final int CHIP_CONFIGURATION_FLASH_ROM_BIT_CUSTOMDATA_INVALID
public static final int CHIP_CONFIGURATION_FLASH_ROM_BIT_CUSTOMDATACHKSUM_INVALID
public static final int CHIP_CONFIGURATION_FLASH_ROM_BIT_CUSTOM
public static final int CHIP_CONFIGURATION_FLASH_ROM_BIT_GPIO_INPUT
public static final int CHIP_CONFIGURATION_FLASH_ROM_BIT_GPIO_0
public static final int CHIP_CONFIGURATION_FLASH_ROM_BIT_GPIO_1
public static final int CONTROL_TRANSFER_TYPE_VENDOR
public static final int CONTROL_TRANSFER_TYPE_STANDARD
public static final int CONTROL_TRANSFER_TYPE_CLASS
public static final int CONTROL_TRANSFER_DIR_OUT
public static final int CONTROL_TRANSFER_DIR_IN
public static final int CONTROL_TRANSFER_REC_DEVICE
public static final int CONTROL_TRANSFER_REC_INTERFACE
public static final int CONTROL_TRANSFER_REC_ENDPOINT
public static final int CONTROL_TRANSFER_REC_OTHER