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

ATMEGA16U2-MUR 参数 Datasheet PDF下载

ATMEGA16U2-MUR图片预览
型号: ATMEGA16U2-MUR
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器具有ISP功能的Flash 8/16 / 32K Butes [8-bit Microcontroller with 8/16/32K Butes of ISP Flash]
分类和应用: 微控制器异步传输模式PCATM
文件页数/大小: 310 页 / 4432 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第198页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第199页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第200页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第201页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第203页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第204页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第205页浏览型号ATMEGA16U2-MUR的Datasheet PDF文件第206页  
ATmega8U2/16U2/32U2  
21.11.2 STALL handshake and Retry mechanism  
The Retry mechanism has priority over the STALL handshake. A STALL handshake is sent if the  
STALLRQ request bit is set and if there is no retry required.  
21.12 CONTROL endpoint management  
A SETUP request is always ACK’ed. When a new setup packet is received, the RXSTPI inter-  
rupt is triggered (if enabled). The RXOUTI interrupt is not triggered.  
The FIFOCON and RWAL fields are irrelevant with CONTROL endpoints. The firmware shall  
thus never use them on that endpoints. When read, their value is always 0.  
CONTROL endpoints are managed by the following bits:  
• RXSTPI is set when a new SETUP is received. It shall be cleared by firmware to  
acknowledge the packet and to clear the endpoint bank.  
• RXOUTI is set when a new OUT data is received. It shall be cleared by firmware to  
acknowledge the packet and to clear the endpoint bank.  
• TXINI is set when the bank is ready to accept a new IN packet. It shall be cleared by firmware  
to send the packet and to clear the endpoint bank.  
CONTROL endpoints should not be managed by interrupts, but only by polling the status bits.  
21.12.1 Control Write  
The next figure shows a control write transaction. During the status stage, the controller will not  
necessary send a NAK at the first IN token:  
• If the firmware knows the exact number of descriptor bytes that must be read, it can then  
anticipate on the status stage and send a ZLP for the next IN token,  
• or it can read the bytes and poll NAKINI, which tells that all the bytes have been sent by the  
host, and the transaction is now in the status stage.  
202  
7799D–AVR–11/10  
 复制成功!