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

895132-UL 参数 Datasheet PDF下载

895132-UL图片预览
型号: 895132-UL
PDF下载: 下载PDF文件 查看货源
内容描述: USB微控制器,带有64K字节Flash存储器 [USB Microcontroller with 64K Bytes Flash Memory]
分类和应用: 存储微控制器
文件页数/大小: 182 页 / 1660 K
品牌: ATMEL [ ATMEL ]
 浏览型号895132-UL的Datasheet PDF文件第49页浏览型号895132-UL的Datasheet PDF文件第50页浏览型号895132-UL的Datasheet PDF文件第51页浏览型号895132-UL的Datasheet PDF文件第52页浏览型号895132-UL的Datasheet PDF文件第54页浏览型号895132-UL的Datasheet PDF文件第55页浏览型号895132-UL的Datasheet PDF文件第56页浏览型号895132-UL的Datasheet PDF文件第57页  
AT89C5132  
12.4.1  
Mode 0 (13-bit Timer)  
Mode 0 configures Timer 1 as a 13-bit Timer, which is set up as an 8-bit Timer (TH1 register)  
with a modulo-32 prescaler implemented with the lower 5 Bits of the TL1 register (see Figure 12-  
2). The upper 3 Bits of TL1 register are ignored. Prescaler overflow increments TH1 register.  
12.4.2  
12.4.3  
Mode 1 (16-bit Timer)  
Mode 1 configures Timer 1 as a 16-bit Timer with TH1 and TL1 registers connected in cascade  
(see Figure 12-4). The selected input increments TL1 register.  
Mode 2 (8-bit Timer with  
Auto-Reload)  
Mode 3 (Halt)  
Mode 2 configures Timer 1 as an 8-bit Timer (TL1 register) with automatic reload from TH1 reg-  
ister on overflow (see Figure 12-6). TL1 overflow sets TF1 flag in TCON register and reloads  
TL1 with the contents of TH1, which is preset by software. The reload leaves TH1 unchanged.  
12.4.4  
Placing Timer 1 in mode 3 causes it to halt and hold its count. This can be used to halt Timer 1  
when TR1 run control bit is not available i.e. when Timer 0 is in mode 3.  
12.5 Interrupt  
Each Timer handles one interrupt source that is the timer overflow flag TF0 or TF1. This flag is  
set every time an overflow occurs. Flags are cleared when vectoring to the Timer interrupt rou-  
tine. Interrupts are enabled by setting ETx bit in IEN0 register. This assumes interrupts are  
globally enabled by setting EA bit in IEN0 register.  
Figure 12-10. Timer Interrupt System  
Timer 0  
Interrupt Request  
TF0  
TCON.5  
ET0  
IEN0.1  
Timer 1  
Interrupt Request  
TF1  
TCON.7  
ET1  
IEN0.3  
53  
4173E–USB–09/07  
 复制成功!