libftdi Archives
|
From: | Berni Joss <berni.joss@xxxxxxxxx> |
---|---|
To: | libftdi@xxxxxxxxxxxxxxxxxxxxxxx |
Date: | Tue, 18 Dec 2018 14:36:28 +0100 |
>> is there is something pending in the read buffer I check the readbuffer_remaining field of the ftdi_context struct [1] returned by ftdi_new() [2]. >> a way to set the read timeout via libftdi. The same ftdi_context struct also has a field usb_read_timeout [3] .. but I have not used that one so far. There is also a timeout inside the ftdi IC, which is called latency timer, which you set with ftdi_set_latency_timer() [4] I am just a libftdi user of libftdi 1.4, not a developer nor maintainer, so I hope above is still useful. Berni On Mon, Dec 17, 2018 at 4:56 PM <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: Hello, libftdi - see http://www.intra2net.com/en/developer/libftdi for details. |
Current Thread |
---|
|