![FTDI FT51A Скачать руководство пользователя страница 17](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158017.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
16
Copyright © 2015 Future Technology Devices International Limited
2.2.3
TOP_USB_ENABLE
Bit
Position
Bit Field Name
Type
Reset
Description
7..6
RFU
R
0
Reserved
5
hub_compd_dev
R/W
Controls the way the hub module
identifies itself during
enumeration :
1 – Hub is part of a compound
device
0 – Hub is not part of a compound
device
4
hub_remote_wakeup_en
R/W
0
1- Enable remote wakeup:
Hub will respond to a host
get_status command with an ACK
0 - Disable remote wakeup:
Hub will respond to a host
get_status command with a STALL
3
hub_stsnzdatahsk
R/W
0
On receipt of a non-zero-length
data packet, device will:
1 – Hub returns a STALL
0 – Hub returns an ACK
2
hub_ext_localpwrsrc
R/W
The setting of this bit is used as a
power status flag which is returned
in response to a Host Get_Status
command :
1 – External power source
0 – Bus powered
1
hub_enable
R/W
0
Write to this bit to enable or disable
the Hub:
1 – Hub enabled
0 – Hub disabled
0
ft122_enable
R/W
0
Write to this bit to enable or disable
USB functionality:
1 – USB enabled
0 – USB disabled
Table 2.7 USB Control Register