码迷,mamicode.com
首页 > 其他好文 > 详细

USB DATA Toggle

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

标签:io   for   ar   res   har   ad   dp   rom   

 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

标签:io   for   ar   res   har   ad   dp   rom   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!