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

90USB1287-16AU 参数 Datasheet PDF下载

90USB1287-16AU图片预览
型号: 90USB1287-16AU
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机具有ISP功能的Flash和USB控制器64 / 128K字节 [Microcontroller with 64/128K Bytes of ISP Flash and USB Controller]
分类和应用: 微控制器
文件页数/大小: 434 页 / 3172 K
品牌: ATMEL [ ATMEL ]
 浏览型号90USB1287-16AU的Datasheet PDF文件第272页浏览型号90USB1287-16AU的Datasheet PDF文件第273页浏览型号90USB1287-16AU的Datasheet PDF文件第274页浏览型号90USB1287-16AU的Datasheet PDF文件第275页浏览型号90USB1287-16AU的Datasheet PDF文件第277页浏览型号90USB1287-16AU的Datasheet PDF文件第278页浏览型号90USB1287-16AU的Datasheet PDF文件第279页浏览型号90USB1287-16AU的Datasheet PDF文件第280页  
switch to the next bank. The RXOUTI and FIFOCON bits are then updated by hardware in  
accordance with the status of the new bank.  
RXOUTI shall always be cleared before clearing FIFOCON.  
The RWAL bit always reflects the state of the current bank. This bit is set if the firmware can  
read data from the bank, and cleared by hardware when the bank is empty.  
Example with 1 OUT data bank  
DATA  
(to bank 0)  
NAK  
DATA  
(to bank 0)  
OUT  
ACK  
HW  
OUT  
ACK  
HW  
RXOUTI  
SW  
SW  
read data from CPU  
BANK 0  
FIFOCON  
SW  
read data from CPU  
BANK 0  
Example with 2 OUT data banks  
DATA  
OUT  
DATA  
(to bank 1)  
ACK  
HW  
OUT  
ACK  
(to bank 0)  
HW  
RXOUTI  
SW  
SW  
read data from CPU  
BANK 0  
SW  
FIFOCON  
read data from CPU  
BANK 1  
22.14.2 Detailed description  
22.14.2.1  
The data are read by the CPU, following the next flow:  
• When the bank is filled by the host, an endpoint interrupt (EPINTx) is triggered, if enabled  
(RXOUTE set) and RXOUTI is set. The CPU can also poll RXOUTI or FIFOCON, depending  
on the software architecture,  
• The CPU acknowledges the interrupt by clearing RXOUTI,  
• The CPU can read the number of byte (N) in the current bank (N=BYCT),  
• The CPU can read the data from the current bank (“N” read of UEDATX),  
• The CPU can free the bank by clearing FIFOCON when all the data is read, that is:  
• after “N” read of UEDATX,  
• as soon as RWAL is cleared by hardware.  
If the endpoint uses 2 banks, the second one can be filled by the HOST while the current one is  
being read by the CPU. Then, when the CPU clear FIFOCON, the next bank may be already  
ready and RXOUTI is set immediately.  
276  
AT90USB64/128  
7593A–AVR–02/06  
 复制成功!