всем спасибо, все понятно
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено DSN  01 марта 2005 г. 10:16
В ответ на: изучая код PIC demo USB заметил такую вещь отправлено DSN  01 марта 2005 г. 00:27

да похоже нашел то место
вот только на алгоритм оно совсем не похоже. мля пишут спецификации почти на художественном языке ...
И не понятно на кой потом еще одну посылку по старому адресу обрабатывать ? это что за проверка на вшивость ?

9.2.6.3 Set Address Processing
After the reset/resume recovery interval, if a device receives a SetAddress() request, the device must be able
to complete processing of the request and be able to successfully complete the Status stage of the request
within 50 ms. In the case of the SetAddress() request, the Status stage successfully completes when the
device sends the zero-length Status packet or when the device sees the ACK in response to the Status stage
data packet.
After successful completion of the Status stage, the device is allowed a SetAddress() recovery interval of
2 ms. At the end of this interval, the device must be able to accept Setup packets addressed to the new
address. Also, at the end of the recovery interval, the device must not respond to tokens sent to the old
address (unless, of course, the old and new address is the same).

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru