欢迎访问ic37.com |
会员登录 免费注册
发布采购

AN2131QC 参数 Datasheet PDF下载

AN2131QC图片预览
型号: AN2131QC
PDF下载: 下载PDF文件 查看货源
内容描述: 在EZ - USBTM集成电路 [The EZ-USBTM Integrated Circuit]
分类和应用:
文件页数/大小: 334 页 / 1468 K
品牌: CYPRESS [ CYPRESS ]
 浏览型号AN2131QC的Datasheet PDF文件第138页浏览型号AN2131QC的Datasheet PDF文件第139页浏览型号AN2131QC的Datasheet PDF文件第140页浏览型号AN2131QC的Datasheet PDF文件第141页浏览型号AN2131QC的Datasheet PDF文件第143页浏览型号AN2131QC的Datasheet PDF文件第144页浏览型号AN2131QC的Datasheet PDF文件第145页浏览型号AN2131QC的Datasheet PDF文件第146页  
7.3.9 Get Interface  
Table 7-19. Get Interface (Actually, Get Alternate Setting AS for interface IF)  
Byte  
0
Field  
bmRequestType  
bRequest  
wValueL  
Value  
Meaning  
8051 Response  
Send AS for Interface IF over  
OUT0BUF (1 byte)  
0x81 IN, Device  
0x0A Get_Interface”  
0x00  
1
2
3
wValueH  
0x00  
4
wIndexL  
IF  
0x00  
1
For this interface  
5
wIndexH  
6
wLengthL  
wLengthH  
LenL  
LenH  
7
0
The 8051 simply returns the alternate setting for the requested interface IF, and clears the  
HSNAK bit by writing “1” to it.  
7.3.10 Set Address  
When a USB device is first plugged in, it responds to device address 0 until the host  
assigns it a unique address using the Set_Address request. The EZ-USB core copies this  
device address into the FNADDR (Function Address) register, and subsequently responds  
only to requests to this address. This address is in effect until the USB device is  
unplugged, the host issues a USB Reset, or the host powers down.  
The FNADDR register can be read, but not written by the 8051. Whenever the EZ-USB  
core ReNumerates , it automatically resets the FNADDR to zero allowing the device to  
come back as new.  
An 8051 program does not need to know the device address, because the EZ-USB core  
automatically responds only to the host-assigned FNADDR value. The EZ-USB core  
makes it readable by the 8051 for debug/diagnostic purposes.  
EZ-USB TRM v1.9  
Chapter 7. EZ-USB CPU  
Page 7-21  
 复制成功!