Your browser does not allow scripts
Please click here to view a static table of contents without scripts
FT_GetBitMode Example
Return to Introduction  Previous page  Next page
To get the current bit mode value

HANDLE ftHandle;   // valid handle returned from FT_Open or FT_W32_CreateFile
UCHAR BitMode;
FT_STATUS ftStatus;
ftStatus = FT_GetBitMode(ftHandle,&BitMode);
if (ftStatus == FT_OK) {
   // BitMode contains current value
}
else {
   // FT_GetBitMode FAILED!
}