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

83C51SND2C-JL 参数 Datasheet PDF下载

83C51SND2C-JL图片预览
型号: 83C51SND2C-JL
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片闪存微控制器与MP3解码器,支持完整的音频接口 [Single-Chip Flash Microcontroller with MP3 Decoder with Full Audio Interface]
分类和应用: 解码器闪存微控制器
文件页数/大小: 235 页 / 2877 K
品牌: ATMEL [ ATMEL ]
 浏览型号83C51SND2C-JL的Datasheet PDF文件第110页浏览型号83C51SND2C-JL的Datasheet PDF文件第111页浏览型号83C51SND2C-JL的Datasheet PDF文件第112页浏览型号83C51SND2C-JL的Datasheet PDF文件第113页浏览型号83C51SND2C-JL的Datasheet PDF文件第115页浏览型号83C51SND2C-JL的Datasheet PDF文件第116页浏览型号83C51SND2C-JL的Datasheet PDF文件第117页浏览型号83C51SND2C-JL的Datasheet PDF文件第118页  
Control Transactions  
Setup Stage  
The DIR bit in the UEPSTAX register should be at 0.  
Receiving Setup packets is the same as receiving Bulk Out packets, except that the  
RXSETUP bit in the UEPSTAX register is set by the USB controller instead of the  
RXOUTB0 bit to indicate that an Out packet with a Setup PID has been received on the  
Control endpoint. When the RXSETUP bit has been set, all the other bits of the UEP-  
STAX register are cleared and an interrupt is triggered if enabled.  
The firmware has to read the Setup request stored in the Control endpoint FIFO before  
clearing the RXSETUP bit to free the endpoint FIFO for the next transaction.  
Data Stage: Control Endpoint The data stage management is similar to Bulk management.  
Direction  
A Control endpoint is managed by the USB controller as a full-duplex endpoint: IN and  
OUT. All other endpoint types are managed as half-duplex endpoint: IN or OUT. The  
firmware has to specify the control endpoint direction for the data stage using the DIR bit  
in the UEPSTAX register.  
If the data stage consists of INs, the firmware has to set the DIR bit in the UEPSTAX  
register before writing into the FIFO and sending the data by setting to 1 the TXRDY  
bit in the UEPSTAX register. The IN transaction is complete when the TXCMPL has  
been set by the hardware. The firmware should clear the TXCMPL bit before any  
other transaction.  
If the data stage consists of OUTs, the firmware has to leave the DIR bit at 0. The  
RXOUTB0 bit is set by hardware when a new valid packet has been received on the  
endpoint. The firmware must read the data stored into the FIFO and then clear the  
RXOUTB0 bit to reset the FIFO and to allow the next transaction.  
To send a STALL handshake, see “STALL Handshake” on page 117.  
Status Stage  
The DIR bit in the UEPSTAX register should be reset at 0 for IN and OUT status stage.  
The status stage management is similar to Bulk management.  
For a Control Write transaction or a No-Data Control transaction, the status stage  
consists of a IN Zero Length Packet (see “Bulk/Interrupt IN Transactions in  
Standard Mode” on page 112). To send a STALL handshake, see “STALL  
Handshake” on page 117.  
For a Control Read transaction, the status stage consists of a OUT Zero Length  
Packet (see “Bulk/Interrupt OUT Transactions in Standard Mode” on page 110).  
114  
AT8xC51SND2C  
4341D–MP3–04/05  
 复制成功!