首页 > 其他 > 详细

USB DATA Toggle

时间:2014-07-29 17:10:42      阅读:330      评论:0      收藏:0      [点我收藏+]

 For bulk and interrupt transfers, the data toggle resets <0> only on Set Configuration, Set Interface, and Clear Feature(Endpoint Halt).  

For isochronous transfers, the data toggle always is <0> and no ACK 

For control transfers, 

OUT Endpoint : hardware clears toggle bit at the reception of a SETUP PID addressed to this endpoint.< to received setup data packet DATA0>

IN Endpoint : hardware sets toggle bit at the reception of a SETUP PID addressed to this endpoint. <to send data or status packet DATA1>

 

SETUP : DATA0 : ACK <--hardware clears toggle bit 

IN: DATA1:ACK <--hardware sets toggle bit

OUT:DATA1:ACK <--hardware clears toggle bit from DATA0 to DATA1

 

SETUP : DATA0 : ACK <--hardware clears toggle bit 

OUT: DATA1:ACK <--hardware toggle toggle bit

IN:DATA1:ACK <--hardware sets toggle bit

 

SETUP : DATA0 : ACK <--hardware clears toggle bit 

IN:DATA1:ACK <--hardware sets toggle bit

USB DATA Toggle,布布扣,bubuko.com

USB DATA Toggle

原文:http://www.cnblogs.com/shangdawei/p/3875652.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!