libftdi Archives

Subject: [Corrected] Add bitmode for synchronous fifo if FT2232H

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 20 Nov 2009 21:08:33 +0100
Arg,

getting a one-line right didn't work out. Please disregards the first patch
and use appended patch instead

Changelog:
Appended small patch adds the bitmode (0x40) for synchronous fifo mode of
the FT2232H

-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>From a470bfbdae1e78cc585bfe69b27ded88f4ba7349 Mon Sep 17 00:00:00 2001
From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Nov 2009 17:31:26 +0100
Subject: Add bitmode value for synchronous fifo if FT2232H

---
 src/ftdi.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/ftdi.h b/src/ftdi.h
index 74a397b..0c4620b 100644
--- a/src/ftdi.h
+++ b/src/ftdi.h
@@ -42,7 +42,8 @@ enum ftdi_mpsse_mode
     BITMODE_MCU    = 0x08,
     /* CPU-style fifo mode gets set via EEPROM */
     BITMODE_OPTO   = 0x10,
-    BITMODE_CBUS   = 0x20
+    BITMODE_CBUS   = 0x20,
+    BITMODE_SYNCFF = 0x40
 };
 
 /** Port interface for FT2232C */
-- 
1.6.4.2


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread