
EZ-USB FX2 Technical Reference Manual
Page 15-68 EZ-USB FX2 Technical Reference Manual v2.1
15.10.8 USB Function Address
Figure 15-70. USB Function Address
Bit 6-0 FA6:0 USB Function Address
During the USB enumeration process, the host sends a device a unique 7-bit address, which
the USB core copies into this register. There is normally no reason for the CPU to know its
USB device address because the USB Core automatically responds only to its assigned
address.
15.11 Endpoints
15.11.1 Endpoint 0 (Byte Count High)
Figure 15-71. Endpoint 0 (Byte Count High)
Bit 7-0 BC15:8 High Order Byte Count
Even though the EP0 buffer is only 64 bytes, the EP0 byte count is expanded to 16 bits to
allow using the SUDPTR with a custom length, instead of USB-dictated length (from Setup
Data Packet and number of requested bytes). The byte count bits in parentheses apply only
when SDPAUTO (SUDPTRCTL.0) = 0.
FNADDR USB Function Address E687
b7 b6 b5 b4 b3 b2 b1 b0
0 FA6 FA5 FA4 FA3 FA2 FA1 FA0
R R R R R R R R
0 0 0 0 0 0 0 0
EP0BCH Endpoint 0 Byte Count HIGH E68A
b7 b6 b5 b4 b3 b2 b1 b0
(BC15) (BC14) (BC13) (BC12) (BC11) (BC10) (BC9) (BC8)
R/W R/W R/W R/W R/W R/W R/W R/W
x x x x x x x x
Kommentare zu diesen Handbüchern