| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Copyright 2006 AN2232C-02 Mode Functions FT2232 Mode Functio
Top Searches for this datasheetAN2232-02 Mode Functions FT2232 Copyright 2006 AN2232C-02 Mode Functions FT2232 Mode Functions FT2232 Overview D2XX functions FT_Set BitMode FT_GetBitMode used enable several device modes FT2232. This document describes these functions terms FT2232 provides some examples. Copyright 2006 Mode Functions FT2232 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. Copyright 2006 AN2232C-02 Mode Functions FT2232 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 Copyright 2006 Mode Functions FT2232 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. Copyright 2006 AN2232C-02 Mode Functions FT2232 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! Copyright 2006 Mode Functions FT2232 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 Copyright 2006 AN2232C-02 Mode Functions FT2232 History, Disclaimer, Contact Document Revision History Version Release Date April 2004 December 2005 October 2006 Comments Initial release. format. References FT2232C changed FT2232 after release FT2232D. Copyright 2006 History, Disclaimer, Contact Disclaimer Copyright 2006 Future Technology Devices International Ltd. 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. Copyright 2006 AN2232C-02 Mode Functions FT2232 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.sales1@ftdichip.com E-Mail (Support): tw.support1@ftdichip.com E-Mail (General Enquiries): tw.admin1@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. Copyright 2006 Index Index -FFT_GetBitMode FT_SetBitMode Copyright 2006 Other recent searchesTHS6182 - THS6182 THS6182 Datasheet STP4NA100 - STP4NA100 STP4NA100 Datasheet S1087 - S1087 S1087 Datasheet S1133 - S1133 S1133 Datasheet NX8560MC - NX8560MC NX8560MC Datasheet Series - Series Series Datasheet NWTC-1 - NWTC-1 NWTC-1 Datasheet NJM2203 - NJM2203 NJM2203 Datasheet MR27V452D - MR27V452D MR27V452D Datasheet FCZ254-NNB - FCZ254-NNB FCZ254-NNB Datasheet
Privacy Policy | Disclaimer |