zoukankan      html  css  js  c++  java
  • USB DATA Toggle

     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

  • 相关阅读:
    C++ Primer 第五版-1.1
    C++ Primer 第五版笔记-1.0
    TouchID
    正则表达式
    duplicate symbol 错误
    第三方登录
    AFNetWorking
    IOS---通知
    左右点击--日期增减
    Xcode相关设置
  • 原文地址:https://www.cnblogs.com/shangdawei/p/3875652.html
Copyright © 2011-2022 走看看