Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
iuu_phoenix.h File Reference

Go to the source code of this file.

Macros

#define IUU_USB_VENDOR_ID   0x104f
 
#define IUU_USB_PRODUCT_ID   0x0004
 
#define IUU_USB_OP_TIMEOUT   0x0200
 
#define IUU_NO_OPERATION   0x00
 
#define IUU_GET_FIRMWARE_VERSION   0x01
 
#define IUU_GET_PRODUCT_NAME   0x02
 
#define IUU_GET_STATE_REGISTER   0x03
 
#define IUU_SET_LED   0x04
 
#define IUU_WAIT_MUS   0x05
 
#define IUU_WAIT_MS   0x06
 
#define IUU_GET_LOADER_VERSION   0x50
 
#define IUU_RST_SET   0x52
 
#define IUU_RST_CLEAR   0x53
 
#define IUU_SET_VCC   0x59
 
#define IUU_UART_ENABLE   0x49
 
#define IUU_UART_DISABLE   0x4A
 
#define IUU_UART_WRITE_I2C   0x4C
 
#define IUU_UART_ESC   0x5E
 
#define IUU_UART_TRAP   0x54
 
#define IUU_UART_TRAP_BREAK   0x5B
 
#define IUU_UART_RX   0x56
 
#define IUU_AVR_ON   0x21
 
#define IUU_AVR_OFF   0x22
 
#define IUU_AVR_1CLK   0x23
 
#define IUU_AVR_RESET   0x24
 
#define IUU_AVR_RESET_PC   0x25
 
#define IUU_AVR_INC_PC   0x26
 
#define IUU_AVR_INCN_PC   0x27
 
#define IUU_AVR_PREAD   0x29
 
#define IUU_AVR_PREADN   0x2A
 
#define IUU_AVR_PWRITE   0x28
 
#define IUU_AVR_DREAD   0x2C
 
#define IUU_AVR_DREADN   0x2D
 
#define IUU_AVR_DWRITE   0x2B
 
#define IUU_AVR_PWRITEN   0x2E
 
#define IUU_EEPROM_ON   0x37
 
#define IUU_EEPROM_OFF   0x38
 
#define IUU_EEPROM_WRITE   0x39
 
#define IUU_EEPROM_WRITEX   0x3A
 
#define IUU_EEPROM_WRITE8   0x3B
 
#define IUU_EEPROM_WRITE16   0x3C
 
#define IUU_EEPROM_WRITEX32   0x3D
 
#define IUU_EEPROM_WRITEX64   0x3E
 
#define IUU_EEPROM_READ   0x3F
 
#define IUU_EEPROM_READX   0x40
 
#define IUU_EEPROM_BREAD   0x41
 
#define IUU_EEPROM_BREADX   0x42
 
#define IUU_PIC_CMD   0x0A
 
#define IUU_PIC_CMD_LOAD   0x0B
 
#define IUU_PIC_CMD_READ   0x0C
 
#define IUU_PIC_ON   0x0D
 
#define IUU_PIC_OFF   0x0E
 
#define IUU_PIC_RESET   0x16
 
#define IUU_PIC_INC_PC   0x0F
 
#define IUU_PIC_INCN_PC   0x10
 
#define IUU_PIC_PWRITE   0x11
 
#define IUU_PIC_PREAD   0x12
 
#define IUU_PIC_PREADN   0x13
 
#define IUU_PIC_DWRITE   0x14
 
#define IUU_PIC_DREAD   0x15
 
#define IUU_UART_NOP   0x00
 
#define IUU_UART_CHANGE   0x02
 
#define IUU_UART_TX   0x04
 
#define IUU_DELAY_MS   0x06
 
#define IUU_OPERATION_OK   0x00
 
#define IUU_DEVICE_NOT_FOUND   0x01
 
#define IUU_INVALID_HANDLE   0x02
 
#define IUU_INVALID_PARAMETER   0x03
 
#define IUU_INVALID_voidERFACE   0x04
 
#define IUU_INVALID_REQUEST_LENGTH   0x05
 
#define IUU_UART_NOT_ENABLED   0x06
 
#define IUU_WRITE_ERROR   0x07
 
#define IUU_READ_ERROR   0x08
 
#define IUU_TX_ERROR   0x09
 
#define IUU_RX_ERROR   0x0A
 
#define IUU_PARITY_NONE   0x00
 
#define IUU_PARITY_EVEN   0x01
 
#define IUU_PARITY_ODD   0x02
 
#define IUU_PARITY_MARK   0x03
 
#define IUU_PARITY_SPACE   0x04
 
#define IUU_SC_INSERTED   0x01
 
#define IUU_VERIFY_ERROR   0x02
 
#define IUU_SIM_INSERTED   0x04
 
#define IUU_TWO_STOP_BITS   0x00
 
#define IUU_ONE_STOP_BIT   0x20
 
#define IUU_BAUD_2400   0x0398
 
#define IUU_BAUD_9600   0x0298
 
#define IUU_BAUD_19200   0x0164
 
#define IUU_BAUD_28800   0x0198
 
#define IUU_BAUD_38400   0x01B2
 
#define IUU_BAUD_57600   0x0030
 
#define IUU_BAUD_115200   0x0098
 
#define IUU_CLK_3579000   3579000
 
#define IUU_CLK_3680000   3680000
 
#define IUU_CLK_6000000   6000000
 
#define IUU_FULLCARD_IN   0x01
 
#define IUU_DEV_ERROR   0x02
 
#define IUU_MINICARD_IN   0x04
 
#define IUU_VCC_5V   0x00
 
#define IUU_VCC_3V   0x01
 

Macro Definition Documentation

#define IUU_AVR_1CLK   0x23

Definition at line 44 of file iuu_phoenix.h.

#define IUU_AVR_DREAD   0x2C

Definition at line 52 of file iuu_phoenix.h.

#define IUU_AVR_DREADN   0x2D

Definition at line 53 of file iuu_phoenix.h.

#define IUU_AVR_DWRITE   0x2B

Definition at line 54 of file iuu_phoenix.h.

#define IUU_AVR_INC_PC   0x26

Definition at line 47 of file iuu_phoenix.h.

#define IUU_AVR_INCN_PC   0x27

Definition at line 48 of file iuu_phoenix.h.

#define IUU_AVR_OFF   0x22

Definition at line 43 of file iuu_phoenix.h.

#define IUU_AVR_ON   0x21

Definition at line 42 of file iuu_phoenix.h.

#define IUU_AVR_PREAD   0x29

Definition at line 49 of file iuu_phoenix.h.

#define IUU_AVR_PREADN   0x2A

Definition at line 50 of file iuu_phoenix.h.

#define IUU_AVR_PWRITE   0x28

Definition at line 51 of file iuu_phoenix.h.

#define IUU_AVR_PWRITEN   0x2E

Definition at line 55 of file iuu_phoenix.h.

#define IUU_AVR_RESET   0x24

Definition at line 45 of file iuu_phoenix.h.

#define IUU_AVR_RESET_PC   0x25

Definition at line 46 of file iuu_phoenix.h.

#define IUU_BAUD_115200   0x0098

Definition at line 114 of file iuu_phoenix.h.

#define IUU_BAUD_19200   0x0164

Definition at line 110 of file iuu_phoenix.h.

#define IUU_BAUD_2400   0x0398

Definition at line 108 of file iuu_phoenix.h.

#define IUU_BAUD_28800   0x0198

Definition at line 111 of file iuu_phoenix.h.

#define IUU_BAUD_38400   0x01B2

Definition at line 112 of file iuu_phoenix.h.

#define IUU_BAUD_57600   0x0030

Definition at line 113 of file iuu_phoenix.h.

#define IUU_BAUD_9600   0x0298

Definition at line 109 of file iuu_phoenix.h.

#define IUU_CLK_3579000   3579000

Definition at line 115 of file iuu_phoenix.h.

#define IUU_CLK_3680000   3680000

Definition at line 116 of file iuu_phoenix.h.

#define IUU_CLK_6000000   6000000

Definition at line 117 of file iuu_phoenix.h.

#define IUU_DELAY_MS   0x06

Definition at line 84 of file iuu_phoenix.h.

#define IUU_DEV_ERROR   0x02

Definition at line 119 of file iuu_phoenix.h.

#define IUU_DEVICE_NOT_FOUND   0x01

Definition at line 87 of file iuu_phoenix.h.

#define IUU_EEPROM_BREAD   0x41

Definition at line 66 of file iuu_phoenix.h.

#define IUU_EEPROM_BREADX   0x42

Definition at line 67 of file iuu_phoenix.h.

#define IUU_EEPROM_OFF   0x38

Definition at line 57 of file iuu_phoenix.h.

#define IUU_EEPROM_ON   0x37

Definition at line 56 of file iuu_phoenix.h.

#define IUU_EEPROM_READ   0x3F

Definition at line 64 of file iuu_phoenix.h.

#define IUU_EEPROM_READX   0x40

Definition at line 65 of file iuu_phoenix.h.

#define IUU_EEPROM_WRITE   0x39

Definition at line 58 of file iuu_phoenix.h.

#define IUU_EEPROM_WRITE16   0x3C

Definition at line 61 of file iuu_phoenix.h.

#define IUU_EEPROM_WRITE8   0x3B

Definition at line 60 of file iuu_phoenix.h.

#define IUU_EEPROM_WRITEX   0x3A

Definition at line 59 of file iuu_phoenix.h.

#define IUU_EEPROM_WRITEX32   0x3D

Definition at line 62 of file iuu_phoenix.h.

#define IUU_EEPROM_WRITEX64   0x3E

Definition at line 63 of file iuu_phoenix.h.

#define IUU_FULLCARD_IN   0x01

Definition at line 118 of file iuu_phoenix.h.

#define IUU_GET_FIRMWARE_VERSION   0x01

Definition at line 25 of file iuu_phoenix.h.

#define IUU_GET_LOADER_VERSION   0x50

Definition at line 31 of file iuu_phoenix.h.

#define IUU_GET_PRODUCT_NAME   0x02

Definition at line 26 of file iuu_phoenix.h.

#define IUU_GET_STATE_REGISTER   0x03

Definition at line 27 of file iuu_phoenix.h.

#define IUU_INVALID_HANDLE   0x02

Definition at line 88 of file iuu_phoenix.h.

#define IUU_INVALID_PARAMETER   0x03

Definition at line 89 of file iuu_phoenix.h.

#define IUU_INVALID_REQUEST_LENGTH   0x05

Definition at line 91 of file iuu_phoenix.h.

#define IUU_INVALID_voidERFACE   0x04

Definition at line 90 of file iuu_phoenix.h.

#define IUU_MINICARD_IN   0x04

Definition at line 120 of file iuu_phoenix.h.

#define IUU_NO_OPERATION   0x00

Definition at line 24 of file iuu_phoenix.h.

#define IUU_ONE_STOP_BIT   0x20

Definition at line 107 of file iuu_phoenix.h.

#define IUU_OPERATION_OK   0x00

Definition at line 86 of file iuu_phoenix.h.

#define IUU_PARITY_EVEN   0x01

Definition at line 99 of file iuu_phoenix.h.

#define IUU_PARITY_MARK   0x03

Definition at line 101 of file iuu_phoenix.h.

#define IUU_PARITY_NONE   0x00

Definition at line 98 of file iuu_phoenix.h.

#define IUU_PARITY_ODD   0x02

Definition at line 100 of file iuu_phoenix.h.

#define IUU_PARITY_SPACE   0x04

Definition at line 102 of file iuu_phoenix.h.

#define IUU_PIC_CMD   0x0A

Definition at line 68 of file iuu_phoenix.h.

#define IUU_PIC_CMD_LOAD   0x0B

Definition at line 69 of file iuu_phoenix.h.

#define IUU_PIC_CMD_READ   0x0C

Definition at line 70 of file iuu_phoenix.h.

#define IUU_PIC_DREAD   0x15

Definition at line 80 of file iuu_phoenix.h.

#define IUU_PIC_DWRITE   0x14

Definition at line 79 of file iuu_phoenix.h.

#define IUU_PIC_INC_PC   0x0F

Definition at line 74 of file iuu_phoenix.h.

#define IUU_PIC_INCN_PC   0x10

Definition at line 75 of file iuu_phoenix.h.

#define IUU_PIC_OFF   0x0E

Definition at line 72 of file iuu_phoenix.h.

#define IUU_PIC_ON   0x0D

Definition at line 71 of file iuu_phoenix.h.

#define IUU_PIC_PREAD   0x12

Definition at line 77 of file iuu_phoenix.h.

#define IUU_PIC_PREADN   0x13

Definition at line 78 of file iuu_phoenix.h.

#define IUU_PIC_PWRITE   0x11

Definition at line 76 of file iuu_phoenix.h.

#define IUU_PIC_RESET   0x16

Definition at line 73 of file iuu_phoenix.h.

#define IUU_READ_ERROR   0x08

Definition at line 94 of file iuu_phoenix.h.

#define IUU_RST_CLEAR   0x53

Definition at line 33 of file iuu_phoenix.h.

#define IUU_RST_SET   0x52

Definition at line 32 of file iuu_phoenix.h.

#define IUU_RX_ERROR   0x0A

Definition at line 96 of file iuu_phoenix.h.

#define IUU_SC_INSERTED   0x01

Definition at line 103 of file iuu_phoenix.h.

#define IUU_SET_LED   0x04

Definition at line 28 of file iuu_phoenix.h.

#define IUU_SET_VCC   0x59

Definition at line 34 of file iuu_phoenix.h.

#define IUU_SIM_INSERTED   0x04

Definition at line 105 of file iuu_phoenix.h.

#define IUU_TWO_STOP_BITS   0x00

Definition at line 106 of file iuu_phoenix.h.

#define IUU_TX_ERROR   0x09

Definition at line 95 of file iuu_phoenix.h.

#define IUU_UART_CHANGE   0x02

Definition at line 82 of file iuu_phoenix.h.

#define IUU_UART_DISABLE   0x4A

Definition at line 36 of file iuu_phoenix.h.

#define IUU_UART_ENABLE   0x49

Definition at line 35 of file iuu_phoenix.h.

#define IUU_UART_ESC   0x5E

Definition at line 38 of file iuu_phoenix.h.

#define IUU_UART_NOP   0x00

Definition at line 81 of file iuu_phoenix.h.

#define IUU_UART_NOT_ENABLED   0x06

Definition at line 92 of file iuu_phoenix.h.

#define IUU_UART_RX   0x56

Definition at line 41 of file iuu_phoenix.h.

#define IUU_UART_TRAP   0x54

Definition at line 39 of file iuu_phoenix.h.

#define IUU_UART_TRAP_BREAK   0x5B

Definition at line 40 of file iuu_phoenix.h.

#define IUU_UART_TX   0x04

Definition at line 83 of file iuu_phoenix.h.

#define IUU_UART_WRITE_I2C   0x4C

Definition at line 37 of file iuu_phoenix.h.

#define IUU_USB_OP_TIMEOUT   0x0200

Definition at line 20 of file iuu_phoenix.h.

#define IUU_USB_PRODUCT_ID   0x0004

Definition at line 19 of file iuu_phoenix.h.

#define IUU_USB_VENDOR_ID   0x104f

Definition at line 18 of file iuu_phoenix.h.

#define IUU_VCC_3V   0x01

Definition at line 122 of file iuu_phoenix.h.

#define IUU_VCC_5V   0x00

Definition at line 121 of file iuu_phoenix.h.

#define IUU_VERIFY_ERROR   0x02

Definition at line 104 of file iuu_phoenix.h.

#define IUU_WAIT_MS   0x06

Definition at line 30 of file iuu_phoenix.h.

#define IUU_WAIT_MUS   0x05

Definition at line 29 of file iuu_phoenix.h.

#define IUU_WRITE_ERROR   0x07

Definition at line 93 of file iuu_phoenix.h.