欢迎访问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文件第33页浏览型号895132-UL的Datasheet PDF文件第34页浏览型号895132-UL的Datasheet PDF文件第35页浏览型号895132-UL的Datasheet PDF文件第36页浏览型号895132-UL的Datasheet PDF文件第38页浏览型号895132-UL的Datasheet PDF文件第39页浏览型号895132-UL的Datasheet PDF文件第40页浏览型号895132-UL的Datasheet PDF文件第41页  
AT89C5132  
10.2 External Interrupts  
10.2.1  
INT1:0 Inputs  
External interrupts INT0 and INT1 (INTn, n = 0 or 1) pins may each be programmed to be level-  
triggered or edge-triggered, dependent upon bits IT0 and IT1 (ITn, n = 0 or 1) in TCON register  
as shown in Figure 10-2. If ITn = 0, INTn is triggered by a low level at the pin. If ITn = 1, INTn is  
negative-edge triggered. External interrupts are enabled with bits EX0 and EX1 (EXn, n = 0 or 1)  
in IEN0. Events on INTn set the interrupt request flag IEn in TCON register. If the interrupt is  
edge-triggered, the request flag is cleared by hardware when vectoring to the interrupt service  
routine. If the interrupt is level-triggered, the interrupt service routine must clear the request flag  
and the interrupt must be deasserted before the end of the interrupt service routine.  
INT0 and INT1 inputs provide both the capability to exit from Power-down mode on low level sig-  
nals as detailed in Section “Exiting Power-down Mode”, page 47.  
Figure 10-2. INT1:0 Input Circuitry  
0
1
INT0/1  
Interrupt  
Request  
INT0/1  
IE0/1  
TCON.1/3  
EX0/1  
IEN0.0/2  
IT0/1  
TCON.0/2  
10.2.2  
10.2.3  
KIN3:0 Inputs  
External interrupts KIN0 to KIN3 provide the capability to connect a matrix keyboard. For  
detailed information on these inputs, refer to Section “Keyboard Interface”, page 152.  
Input Sampling  
External interrupt pins (INT1:0 and KIN3:0) are sampled once per peripheral cycle (6 peripheral  
clock periods) (see Figure 10-3). A level-triggered interrupt pin held low or high for more than 6  
peripheral clock periods (12 oscillator in standard mode or 6 oscillator clock periods in X2 mode)  
guarantees detection. Edge-triggered external interrupts must hold the request pin low for at  
least 6 peripheral clock periods.  
Figure 10-3. Minimum Pulse Timings  
Level-Triggered Interrupt  
> 1 peripheral cycle  
1 cycle  
Edge-Triggered Interrupt  
> 1 peripheral cycle  
1 cycle  
1 cycle  
37  
4173E–USB–09/07  
 复制成功!