The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

Future Technology Devices International Ltd. 2005 AN2232C-02 Mode


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



AN2232C-02 Mode Functions FT2232C
Future Technology Devices International Ltd. 2005
AN2232C-02 Mode Functions FT2232C
Mode Functions FT2232C
Overview
D2XX functions FT_Set BitMode FT_GetBitMode used enable several device modes FT2232C. This document describes these functions terms FT2232C provides some examples.
Future Technology Devices International Ltd. 2005
Mode Functions FT2232C
FT_SetBitMode
device mode. FT_STATUS FT_SetBitMode (FT_HANDLE ftHandle, UCHAR ucMask, UCHAR ucMode) Parameters ftHandle Handle device. ucMask Required value mode mask. This sets which bits input which bits output. ucMask byte sets direction. means that corresponding input, while means that corresponding output. ucMode Mode value shown following table:
Mode
Reset Mode Asynchronous Bang Mode MPSSE Synchronous Bang Mode Host Emulation Fast Serial Opto-Isolation
Value (hex)
0x10
Return Value FT_OK successful, otherwise return value error code.
Future Technology Devices International Ltd. 2005
AN2232C-02 Mode Functions FT2232C
FT_SetBitMode Example
enable MPSSE Mode:
HANDLE ftHandle; valid handle returned from FT_Open FT_W32_CreateFile FT_STATUS ftStatus; UCHAR Mask 0xff; output UCHAR Mode MPSSE mode ftStatus (ftStatus FT_OK) MPSSE Mode enabled else FT_SetBitMode FAILED!
enable Asynchronous Bang Mode (See AN232BM-01
HANDLE ftHandle; valid handle returned from FT_Open FT_W32_CreateFile FT_STATUS ftStatus; UCHAR Mask 0x07; bits output UCHAR Mode Asynchronous Bang mode ftStatus (ftStatus FT_OK) Asynchronous bang Mode enabled else FT_SetBitMode FAILED!
reset mode:
ftStatus FT_SetBitMode(ftHandle,0,0);
enable Synchrounous Bang mode (using D2XXUnit.pas Delphi):
enable reset
enable Host Emulation mode (using D2XXUnit.pas Delphi):
enable reset
Future Technology Devices International Ltd. 2005
Mode Functions FT2232C
FT_GetBitMode
current value mode. FT_STATUS FT_GetBitMode (FT_HANDLE ftHandle, PUCHAR pucMode)
Parameters ftHandle Handle device. pucMode Pointer unsigned char store mode value. Return Value FT_OK successful, otherwise return value error code.
Future Technology Devices International Ltd. 2005
AN2232C-02 Mode Functions FT2232C
FT_GetBitMode Example
current mode value
HANDLE ftHandle; valid handle returned from FT_Open FT_W32_CreateFile UCHAR BitMode; FT_STATUS ftStatus; ftStatus (ftStatus FT_OK) BitMode contains current value else FT_GetBitMode FAILED!
Future Technology Devices International Ltd. 2005
Mode Functions FT2232C
References
DS2232C FT2232C Device datasheet AN232-01 FT232BM/FT245BM Bang Mode AN2232-01 Command Processor MPSSE Host Emulation Modes Sample Projects MPSSE Code Examples D2XX Programmer's Guide
Future Technology Devices International Ltd. 2005
AN2232C-02 Mode Functions FT2232C
History, Disclaimer, Contact
Document Revision History
AN2232C-02 Version Initial document created April 2004. AN2232C-02 Version Revised document format December 2005.
Future Technology Devices International Ltd. 2005
History, Disclaimer, Contact
Disclaimer
Future Technology Devices International Limited 2002 2005 Neither whole part information contained product described this manual, adapted reproduced material electronic form without prior written consent copyright holder. This product documentation supplied as-is basis warranty their suitability particular purpose either made implied. Future Technology Devices International Ltd. will accept claim damages howsoever arising result failure this product. Your statutory rights affected. This product variant intended medical appliance, device system which failure product might reasonably expected result personal injury. This document provides preliminary information that subject change without notice.
Future Technology Devices International Ltd. 2005
AN2232C-02 Mode Functions FT2232C
Contact Information
Head Office Glasgow, Future Technology Devices International Limited Scotland Street Glasgow United Kingdom Tel: 2777 Fax: 2758 E-Mail (Sales): sales1@ftdichip.com E-Mail (Support): support2@ftdichip.com E-Mail (General Enquiries): admin1@ftdichip.com Site URL: http://www.ftdichip.com Shop URL:
Branch Office Taiwan Future Technology Devices International Limited (Taiwan) 16-1, Sec. Mincyuan East Road Neihu District Taipei Taiwan Tel: +886 8791 3570 Fax: +886 8791 3576 E-Mail (Sales): tw.sales@ftdichip.com E-Mail (Support): tw.support@ftdichip.com E-Mail (General Enquiries): tw.admin@ftdichip.com Site URL: http://www.ftdichip.com
Branch Office Hillsboro, Oregon, Future Technology Devices International Limited (USA) 5285 Elam Young Parkway Suite B800 Hillsboro, 97124-6499 Tel: (503) 547-0988 Fax: (503) 547-0987 E-Mail (Sales): us.sales@ftdichip.com E-Mail (Support): support2@ftdichip.com E-Mail (General Enquiries): admin1@ftdichip.com Site URL: http://www.ftdichip.com
Agents Sales Representatives Please visit Sales Network page FTDI site contact details distributor(s) your country.
Future Technology Devices International Ltd. 2005
Index
Index
-FFT_GetBitMode FT_SetBitMode
Future Technology Devices International Ltd. 2005

Other recent searches


SXO-3200V - SXO-3200V   SXO-3200V Datasheet
SN74AUC1GU04 - SN74AUC1GU04   SN74AUC1GU04 Datasheet
NJM2217 - NJM2217   NJM2217 Datasheet
LSD805 - LSD805   LSD805 Datasheet
62V-XX - 62V-XX   62V-XX Datasheet
CBTL06DP212 - CBTL06DP212   CBTL06DP212 Datasheet
BR24C08 - BR24C08   BR24C08 Datasheet
BR24C08F - BR24C08F   BR24C08F Datasheet
BR24C08FJ - BR24C08FJ   BR24C08FJ Datasheet
BR24C08FV - BR24C08FV   BR24C08FV Datasheet
BR24C16 - BR24C16   BR24C16 Datasheet
BR24C16F - BR24C16F   BR24C16F Datasheet
BR24C16FJ - BR24C16FJ   BR24C16FJ Datasheet
BR24C16FV - BR24C16FV   BR24C16FV Datasheet
BR24E16 - BR24E16   BR24E16 Datasheet
BR24E16F - BR24E16F   BR24E16F Datasheet
BR24E16FJ - BR24E16FJ   BR24E16FJ Datasheet
BR24E16FV - BR24E16FV   BR24E16FV Datasheet
2SK2927 - 2SK2927   2SK2927 Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive