本文转载至: .html
The interrupt transfer is used for periodic transf ers where a time period is requested by the device and the host will guarantee that the data transfer will be scheduled within that time period. It does not guarantee that the data is transferred on a consistent time basis all the time, just that it will schedule the transfer prior to the time period expiration. The data throughput is lower for interrupt transfers and is useful for applications like mice , keyboards where user input is continually needing to be sent to the host.Interrupt Transfers have a limited latency to or from a device. In USB, an Interrupt Transfer, or Interrupt Pipe, has a defined polling rate between:
The maximum packet size for the interrupt endpoint data is:
The developer can define how often the host can request a data transfer from the device.
For example, for a mouse, a data transfer rate at every 10 ms can be guaranteed. However, defining the polling rate does not guarantee that data will be transferred every 10 ms, but rather that the transaction will occur somewhere within the tenth frame. For this reason, a certain amount of timing jitter is inherent in an USB transaction.
Typically, Interrupt Transfer data consists of event notifications, characters, or coordinates from a pointing device.
本文发布于:2024-02-02 17:13:10,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170686518845258.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |