Go to the documentation of this file.
35 #define MESSAGE_TYPE_READ 0x01
36 #define MESSAGE_TYPE_WRITE 0x00
37 #define MESSAGE_TYPE_LOCK_OR 0x02
38 #define MESSAGE_TYPE_LOCK_AND 0x03
39 #define MESSAGE_TYPE_WRITE_MASK 0x04
40 #define MESSAGE_TYPE_CARDINIT 0x05
41 #define MESSAGE_TYPE_INIT_RSP 0x06
42 #define MESSAGE_TYPE_MACSHUTDOWN 0x07
43 #define MESSAGE_TYPE_SETKEY 0x08
44 #define MESSAGE_TYPE_CLRKEYENTRY 0x09
45 #define MESSAGE_TYPE_WRITE_MISCFF 0x0A
46 #define MESSAGE_TYPE_SET_ANTMD 0x0B
47 #define MESSAGE_TYPE_SELECT_CHANNLE 0x0C
48 #define MESSAGE_TYPE_SET_TSFTBTT 0x0D
49 #define MESSAGE_TYPE_SET_SSTIFS 0x0E
50 #define MESSAGE_TYPE_CHANGE_BBTYPE 0x0F
51 #define MESSAGE_TYPE_DISABLE_PS 0x10
52 #define MESSAGE_TYPE_WRITE_IFRF 0x11
55 #define MESSAGE_REQUEST_MEM 0x01
56 #define MESSAGE_REQUEST_BBREG 0x02
57 #define MESSAGE_REQUEST_MACREG 0x03
58 #define MESSAGE_REQUEST_EEPROM 0x04
59 #define MESSAGE_REQUEST_TSF 0x05
60 #define MESSAGE_REQUEST_TBTT 0x06
61 #define MESSAGE_REQUEST_BBAGC 0x07
62 #define MESSAGE_REQUEST_VERSION 0x08
63 #define MESSAGE_REQUEST_RF_INIT 0x09
64 #define MESSAGE_REQUEST_RF_INIT2 0x0A
65 #define MESSAGE_REQUEST_RF_CH0 0x0B
66 #define MESSAGE_REQUEST_RF_CH1 0x0C
67 #define MESSAGE_REQUEST_RF_CH2 0x0D
70 #define VIAUSB20_PACKET_HEADER 0x04
155 #define EXCH_WORD(w) ((WORD)((WORD)(w)<<8) | (WORD)((WORD)(w)>>8))