|
|
To receive a SETUP packet after receiving a zero
length OUT/SETUP packet, there are two copies of this register in hardware. One holds the receive status of a zero length
packet, and another holds the status of the next SETUP packet with data. If a zero length packet is followed by a SETUP
packet, the first read of this register indicates the status of the zero length packet (with RX_LAST set to 1 and RCOUNT set
to 0) and the second read indicates the status of the SETUP packet.
Я это понимаю так: получив ZLP, USBN взводит RX_LAST, но если сразу вслед за ZLP пришел SETUP, чтение Receive Status оставляет RX_LAST в 1, и именно это имеется в виду в фразе This bit is unchanged for zero length packet. Хотя ручаться трудно. Даташит во многих местах написан весьма туманно, а софт, который они дают в качестве примера - просто полный отстой, так что даже не ломайте себе голову, зачем там так странно написано.
E-mail: info@telesys.ru