linux/drivers/usb/serial/iuu_phoenix.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Infinity Unlimited USB Phoenix driver
 *
 * Copyright (C) 2007 Alain Degreffe ([email protected])
 *
 *
 * Original code taken from iuutool ( Copyright (C) 2006 Juan Carlos Borrás )
 *
 *  And tested with help of WB Electronics
 */

#define IUU_USB_VENDOR_ID
#define IUU_USB_PRODUCT_ID
#define IUU_USB_OP_TIMEOUT

/* Programmer commands */

#define IUU_NO_OPERATION
#define IUU_GET_FIRMWARE_VERSION
#define IUU_GET_PRODUCT_NAME
#define IUU_GET_STATE_REGISTER
#define IUU_SET_LED
#define IUU_WAIT_MUS
#define IUU_WAIT_MS
#define IUU_GET_LOADER_VERSION
#define IUU_RST_SET
#define IUU_RST_CLEAR
#define IUU_SET_VCC
#define IUU_UART_ENABLE
#define IUU_UART_DISABLE
#define IUU_UART_WRITE_I2C
#define IUU_UART_ESC
#define IUU_UART_TRAP
#define IUU_UART_TRAP_BREAK
#define IUU_UART_RX
#define IUU_AVR_ON
#define IUU_AVR_OFF
#define IUU_AVR_1CLK
#define IUU_AVR_RESET
#define IUU_AVR_RESET_PC
#define IUU_AVR_INC_PC
#define IUU_AVR_INCN_PC
#define IUU_AVR_PREAD
#define IUU_AVR_PREADN
#define IUU_AVR_PWRITE
#define IUU_AVR_DREAD
#define IUU_AVR_DREADN
#define IUU_AVR_DWRITE
#define IUU_AVR_PWRITEN
#define IUU_EEPROM_ON
#define IUU_EEPROM_OFF
#define IUU_EEPROM_WRITE
#define IUU_EEPROM_WRITEX
#define IUU_EEPROM_WRITE8
#define IUU_EEPROM_WRITE16
#define IUU_EEPROM_WRITEX32
#define IUU_EEPROM_WRITEX64
#define IUU_EEPROM_READ
#define IUU_EEPROM_READX
#define IUU_EEPROM_BREAD
#define IUU_EEPROM_BREADX
#define IUU_PIC_CMD
#define IUU_PIC_CMD_LOAD
#define IUU_PIC_CMD_READ
#define IUU_PIC_ON
#define IUU_PIC_OFF
#define IUU_PIC_RESET
#define IUU_PIC_INC_PC
#define IUU_PIC_INCN_PC
#define IUU_PIC_PWRITE
#define IUU_PIC_PREAD
#define IUU_PIC_PREADN
#define IUU_PIC_DWRITE
#define IUU_PIC_DREAD
#define IUU_UART_NOP
#define IUU_UART_CHANGE
#define IUU_UART_TX
#define IUU_DELAY_MS

#define IUU_OPERATION_OK
#define IUU_DEVICE_NOT_FOUND
#define IUU_INVALID_HANDLE
#define IUU_INVALID_PARAMETER
#define IUU_INVALID_voidERFACE
#define IUU_INVALID_REQUEST_LENGTH
#define IUU_UART_NOT_ENABLED
#define IUU_WRITE_ERROR
#define IUU_READ_ERROR
#define IUU_TX_ERROR
#define IUU_RX_ERROR

#define IUU_PARITY_NONE
#define IUU_PARITY_EVEN
#define IUU_PARITY_ODD
#define IUU_PARITY_MARK
#define IUU_PARITY_SPACE
#define IUU_SC_INSERTED
#define IUU_VERIFY_ERROR
#define IUU_SIM_INSERTED
#define IUU_TWO_STOP_BITS
#define IUU_ONE_STOP_BIT
#define IUU_BAUD_2400
#define IUU_BAUD_9600
#define IUU_BAUD_19200
#define IUU_BAUD_28800
#define IUU_BAUD_38400
#define IUU_BAUD_57600
#define IUU_BAUD_115200
#define IUU_CLK_3579000
#define IUU_CLK_3680000
#define IUU_CLK_6000000
#define IUU_FULLCARD_IN
#define IUU_DEV_ERROR
#define IUU_MINICARD_IN
#define IUU_VCC_5V
#define IUU_VCC_3V