
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
101
Copyright © 2015 Future Technology Devices International Limited
2.11.4.2
Select Endpoint
Command
: 0x00-0x05 (0x00-0x0F for Enhanced Mode)
Data
: Optional Read 1 byte
Bit
Symbol
Reset
Description
0
Full/Empty
0
0: selected endpoint buffer is empty
1: selected endpoint buffer is full
1
Stall
0
0: selected endpoint is not stalled
1: selected endpoint is stalled
7..2
Reserved
0
Reserved
Table 2.128 Endpoint Status Register
2.11.4.3
Read Last Transaction Status
Command
: 0x40-0x45 (0x40-0x4F for Enhanced Mode)
Data
: Read 1 byte
Bit
Symbol
Reset
Description
0
Data
Receive/Transmit
Success
0
0: indicate USB data receive or transmit not OK
1: indicate USB data receive or transmit OK
4..1
Error Code
0
Refer to the error code Table 2.130
5
Setup Packet
0
0: indicates the packet is not a setup packet
1: indicates the last received packet has a SETUP token
6
Data 0/1 Packet
0
0: packet has a DATA0 token
1: packet has a DATA1 token
7
Previous Status not
Read
0
0: previous transaction status was read
1: previous transaction status was not read
Table 2.129 Endpoint Last Transaction Status Register