最終更新:2012-12-18 (火) 14:27:47 (4118d)
レイテンシタイマー
Top / レイテンシタイマー
FTDI
- The latency timer acts as a timeout on the receive buffer which will trigger the transmission of any data in the chip’s receive buffer back to the host.
- In cases when the amount of data being received is minimal, this prevents applications from having to wait a long time for a full packet.
- FTDI devices will return data to the host in 2 cases:
- The IC has a full buffer of data to send back to the host.
- The latency timer has expired.
- デフォルトは16ms
FTDI USB Data Transfer Efficiency
- 一度に受信したいデータサイズに合わせて調整するべき。
Linux
- http://projectgus.com/2011/10/notes-on-ftdi-latency-with-arduino/
- Linux/sys/bus/usb-serial/devices/ttyUSB0/latency_timer?
- ASYNC_LOW_LATENCY