how to use the function FT_SetDivisor?

Supported Operating Systems by FT_SetDivisor

Linux
Mac OS X (10.4 and later)
Windows (2000 and later)
Windows CE (4.2 and later)

null

Summary of FT_SetDivisor

This function sets the baud rate for the device. It is used to set non-standard baud rates.

Definition of FT_SetDivisor

FT_STATUS FT_SetDivisor (FT_HANDLE ftHandle, USHORT usDivisor)

Parameters of FT_SetDivisor

ftHandle      Handle of the device.
usDivisor      Divisor.

Return Value of FT_SetDivisor

FT_OK if successful, otherwise the return value is an FT error code.

Remarks about FT_SetDivisor

This function is no longer required as FT_SetBaudRate will now automatically calculate the required
divisor for a requested baud rate. The application note “Setting baud rates for the FT8U232AM” is
available from the Application Notes section of the FTDI website describes how to calculate the divisor for
a non-standard baud rate.

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容