EZ-USB FX2 单片机原理、编程及应用 PDF图书下载
第1章. 简介
1.5 Tokens and PIDs
四种handshake包:
■ ACK (Acknowledge) means ‘success’; the data was
received error-free.
■ NAK (Negative Acknowledge) means ‘busy, try again.’ It
is tempting to assume that NAK means ‘error,’ but it
does not; a USB device indicates an error by not
responding.
■ STALL means that something unforeseen went wrong
(probably as a result of miscommunication or lack of
cooperation between the host and device software).**A
dev