欢迎访问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文件第12页浏览型号90USB1287-16AU的Datasheet PDF文件第13页浏览型号90USB1287-16AU的Datasheet PDF文件第14页浏览型号90USB1287-16AU的Datasheet PDF文件第15页浏览型号90USB1287-16AU的Datasheet PDF文件第17页浏览型号90USB1287-16AU的Datasheet PDF文件第18页浏览型号90USB1287-16AU的Datasheet PDF文件第19页浏览型号90USB1287-16AU的Datasheet PDF文件第20页  
Note that the Status Register is not automatically stored when entering an interrupt routine, nor  
restored when returning from an interrupt routine. This must be handled by software.  
When using the CLI instruction to disable interrupts, the interrupts will be immediately disabled.  
No interrupt will be executed after the CLI instruction, even if it occurs simultaneously with the  
CLI instruction. The following example shows how this can be used to avoid interrupts during the  
timed EEPROM write sequence..  
Assembly Code Example  
in r16, SREG  
; store SREG value  
cli ; disable interrupts during timed sequence  
sbiEECR, EEMPE ; start EEPROM write  
sbiEECR, EEPE  
outSREG, r16  
; restore SREG value (I-bit)  
C Code Example  
char cSREG;  
cSREG = SREG;/* store SREG value */  
/* disable interrupts during timed sequence */  
__disable_interrupt();  
EECR |= (1<<EEMPE); /* start EEPROM write */  
EECR |= (1<<EEPE);  
SREG = cSREG; /* restore SREG value (I-bit) */  
When using the SEI instruction to enable interrupts, the instruction following SEI will be exe-  
cuted before any pending interrupts, as shown in this example.  
16  
AT90USB64/128  
7593A–AVR–02/06  
 复制成功!