git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
308f1fa
)
Channel Mode is encoded in bits 0..2, VCP is bit 3 Noisy decode
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Thu, 9 Sep 2010 21:03:46 +0000 (23:03 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:39 +0000 (15:34 +0200)
src/ftdi.h
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.h
b/src/ftdi.h
index
e7de304
..
0b4a487
100644
(file)
--- a/
src/ftdi.h
+++ b/
src/ftdi.h
@@
-210,7
+210,7
@@
struct ftdi_eeprom
/* 2232D/H(/FT4432H?) specific */
/* Hardware type, 0 = RS232 Uart, 1 = 245 FIFO, 2 = CPU FIFO,
- 3 = OPTO Isolate */
+ 4 = OPTO Isolate */
int channel_a_type;
int channel_b_type;
/* Driver Type, 1 = VCP */
@@
-350,10
+350,10
@@
struct ftdi_device_list
#define CHANNEL_IS_UART 0x0
#define CHANNEL_IS_245 0x1
#define CHANNEL_IS_CPU 0x2
-#define CHANNEL_IS_OPTO 0x3
+#define CHANNEL_IS_OPTO 0x4
/** Driver Type. */
-#define DRIVER_VCP 0x04
+#define DRIVER_VCP 0x08
/** High current drive. */
#define HIGH_CURRENT_DRIVE 0x10