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

C8051F336 参数 Datasheet PDF下载

C8051F336图片预览
型号: C8051F336
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 234 页 / 3348 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F336的Datasheet PDF文件第92页浏览型号C8051F336的Datasheet PDF文件第93页浏览型号C8051F336的Datasheet PDF文件第94页浏览型号C8051F336的Datasheet PDF文件第95页浏览型号C8051F336的Datasheet PDF文件第97页浏览型号C8051F336的Datasheet PDF文件第98页浏览型号C8051F336的Datasheet PDF文件第99页浏览型号C8051F336的Datasheet PDF文件第100页  
C8051F336/7/8/9  
15.3. External Interrupts /INT0 and /INT1  
The /INT0 and /INT1 external interrupt sources are configurable as active high or low, edge or level sensi-  
tive. The IN0PL (/INT0 Polarity) and IN1PL (/INT1 Polarity) bits in the IT01CF register select active high or  
active low; the IT0 and IT1 bits in TCON (Section “24.1. Timer 0 and Timer 1” on page 189) select level or  
edge sensitive. The table below lists the possible configurations.  
IT0  
1
1
0
0
IN0PL  
/INT0 Interrupt  
IT1  
1
1
0
0
IN1PL  
/INT1 Interrupt  
0
1
0
1
Active low, edge sensitive  
Active high, edge sensitive  
Active low, level sensitive  
Active high, level sensitive  
0
1
0
1
Active low, edge sensitive  
Active high, edge sensitive  
Active low, level sensitive  
Active high, level sensitive  
/INT0 and /INT1 are assigned to Port pins as defined in the IT01CF register (see SFR Definition 15.5).  
Note that /INT0 and /INT0 Port pin assignments are independent of any Crossbar assignments. /INT0 and  
/INT1 will monitor their assigned Port pins without disturbing the peripheral that was assigned the Port pin  
via the Crossbar. To assign a Port pin only to /INT0 and/or /INT1, configure the Crossbar to skip the  
selected pin(s). This is accomplished by setting the associated bit in register XBR0 (see Section  
“20.3. Priority Crossbar Decoder” on page 131 for complete details on configuring the Crossbar).  
IE0 (TCON.1) and IE1 (TCON.3) serve as the interrupt-pending flags for the /INT0 and /INT1 external  
interrupts, respectively. If an /INT0 or /INT1 external interrupt is configured as edge-sensitive, the corre-  
sponding interrupt-pending flag is automatically cleared by the hardware when the CPU vectors to the ISR.  
When configured as level sensitive, the interrupt-pending flag remains logic 1 while the input is active as  
defined by the corresponding polarity bit (IN0PL or IN1PL); the flag remains logic 0 while the input is inac-  
tive. The external interrupt source must hold the input active until the interrupt request is recognized. It  
must then deactivate the interrupt request before execution of the ISR completes or another interrupt  
request will be generated.  
96  
Rev. 0.2