![FTDI FT51A Скачать руководство пользователя страница 92](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158092.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
91
Copyright © 2015 Future Technology Devices International Limited
2.11.2
Command Summary
Command Name
Target
Code (hex)
Data phase
Initialization Commands
Set Address Enable
Device
0xD0
Write 1 byte
Set Endpoint Enable
Device
0xD8
Write 1 byte
Set Mode
Device
0xF3
Write 2 bytes
Reserved
Device
0xFB
Write/Read 1 byte
Data Flow Commands
Read Interrupt Register Device
0xF4
Read 2 bytes
Select Endpoint
Endpoint 0 OUT
0x00
Read 1 byte (optional)
Endpoint 0 IN
0x01
Read 1 byte (optional)
Endpoint 1 OUT
0x02
Read 1 byte (optional)
Endpoint 1 IN
0x03
Read 1 byte (optional)
Endpoint 2 OUT
0x04
Read 1 byte (optional)
Endpoint 2 IN
0x05
Read 1 byte (optional)
Read Last Transaction
Status
Endpoint 0 OUT
0x40
Read 1 byte
Endpoint 0 IN
0x41
Read 1 byte
Endpoint 1 OUT
0x42
Read 1 byte
Endpoint 1 IN
0x43
Read 1 byte
Endpoint 2 OUT
0x44
Read 1 byte
Endpoint 2 IN
0x45
Read 1 byte
Read Endpoint Status
Endpoint 0 OUT
0x80
Read 1 byte
Endpoint 0 IN
0x81
Read 1 byte
Endpoint 1 OUT
0x82
Read 1 byte
Endpoint 1 IN
0x83
Read 1 byte
Endpoint 2 OUT
0x84
Read 1 byte
Endpoint 2 IN
0x85
Read 1 byte
Read Buffer
Selected Endpoint
0xF0
Read multiple bytes
Write Buffer
Selected Endpoint
0xF0
Write multiple bytes
Set Endpoint Status
Endpoint 0 OUT
0x40
Write 1 byte
Endpoint 0 IN
0x41
Write 1 byte
Endpoint 1 OUT
0x42
Write 1 byte
Endpoint 1 IN
0x43
Write 1 byte
Endpoint 2 OUT
0x44
Write 1 byte
Endpoint 2 IN
0x45
Write 1 byte
Acknowledge Setup
Selected Endpoint
0xF1
None
Clear Buffer
Selected Endpoint
0xF2
None