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

85C51SND3B1 参数 Datasheet PDF下载

85C51SND3B1图片预览
型号: 85C51SND3B1
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片数字音频解码器 - 编码器与USB 2.0接口 [Single-Chip Digital Audio Decoder - Encoder with USB 2.0 Interface]
分类和应用: 解码器编码器
文件页数/大小: 263 页 / 3620 K
品牌: ATMEL [ ATMEL ]
 浏览型号85C51SND3B1的Datasheet PDF文件第98页浏览型号85C51SND3B1的Datasheet PDF文件第99页浏览型号85C51SND3B1的Datasheet PDF文件第100页浏览型号85C51SND3B1的Datasheet PDF文件第101页浏览型号85C51SND3B1的Datasheet PDF文件第103页浏览型号85C51SND3B1的Datasheet PDF文件第104页浏览型号85C51SND3B1的Datasheet PDF文件第105页浏览型号85C51SND3B1的Datasheet PDF文件第106页  
At the end of the reset process (Full or High), the end of reset interrupt (EORSTI) is gen-  
erated. Then the CPU should read the SPEED bit to know the speed mode of the  
device.  
Note that the USB device controller starts in the Full-speed mode after power on.  
Endpoint Reset  
An endpoint can be reset at any time by setting in the UERST register the bit corre-  
sponding to the endpoint (EPRSTx). This resets:  
the internal state machine on that endpoint,  
the Rx and Tx banks are cleared and their internal pointers are restored,  
the UEINTX, UESTA0X and UESTA1X are restored to their reset value.  
The data toggle field remains unchanged.  
The other registers remain unchanged.  
The endpoint configuration remains active and the endpoint is still enabled.  
The endpoint reset may be associated with a clear of the data toggle command (RSTDT  
bit) as an answer to the CLEAR_FEATURE USB command.  
USB Reset  
When an USB reset is detected on the USB line, the next operations are performed by  
the controller:  
all the endpoints are disabled, except the default control endpoint,  
the default control endpoint is reset (see Section “Endpoint Reset” for more details).  
The data toggle of the default control endpoint is cleared.  
Endpoint Selection  
Prior to any operation performed by the CPU, the endpoint must first be selected. This is  
done by:  
Clearing EPNUMS.  
Setting EPNUM with the endpoint number which will be managed by the CPU.  
The CPU can then access to the various endpoint registers and data.  
In the same manner, if the endpoint must be accessed by the DFC, it must first be  
selected. This is done by:  
Setting EPNUMS.  
Setting EPNUM with the endpoint number which will be managed by the DFC.  
Setting DFCRDY when the data-flow is ready to take place.  
The DFC can then access to the banks (read / write).  
The controller internally keeps in memory the EPNUM for the CPU and the EPNUM for  
the DFC. In fact, there are 2 EPNUM registers multiplexed by the EPNUMS bit. Each of  
them can be read or written by the CPU.  
These two registers permits to easily switch from an endpoint under DFC data transfer  
to the default control endpoint when a SETUP is received, without reprogramming the  
EPNUM register:  
Set EPNUMS,  
EPNUM = endpointx  
Set DFCRDY when the DFC transfer is ready to take place,  
...<DFC transfer>...  
SETUP received on endpoint0 (EPINT0 set, RXSTPI set),  
102  
AT85C51SND3Bx  
7632A–MP3–03/06  
 复制成功!