Transfers are performed across the USB using one or more proceedings consisting of a series of mail boats. This chapter deals with individual transactions that are initiated by the master of ceremonies to reposition selective information to or from the steer USB device. Each transaction consists of one or more big moneys that are transmitted over the USB device. mannikin -1 illustrates the relationship surrounded by the various layers involved in performing a transfer.
Packets – The underlying Building Blocks of USB Transactions
Transactions typically consist of three packets as shown in figure -2. However, a transaction whitethorn consist of one, two or three packets depending on the fiber:
Token Packet: Each transaction begins with a keepsake packet that defines the target device, endpoint number, and the direction of the data transfer. The dispirit of Frame (SOF) token contains the current frame number that is aerate to all full phase of the moon-speed devices. This is the only token packet that does not target a specific device.
Data Packet: The data consists of a data packet that carries the payload associated with the transfer. A data packet can carry a maximum payload of 1023 bytes of data (isochronous transactions) during a single transaction; while the other transfer types have maximum data payloads of 64 bytes at full speed.
Handshake Packet: all USB transfers (except isochronous) are implemented to imprimatur data delivery, and include a handshake packet to sustain a successful data transfer. If a packet demerit occurs, no handshake packet is returned to the sender and error is flagged. The host is permitted to retry transactions that incur errors until the error count r individuallyes three.
Figure -3 illustrates the basic format of a USB packet. Immediately preceding each packet is a synchronization sequence that permits USB devices to synchronize to the data rate of the incoming bits within the packet. The type of packet is be by a bit pattern called a packet ID (PID). Following the PID...If you want to get a full essay, parliamentary law it on our website: Orderessay
If you want to get a full essay, wisit our page: write my essay .
No comments:
Post a Comment