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

PIC16F916-I/SO 参数 Datasheet PDF下载

PIC16F916-I/SO图片预览
型号: PIC16F916-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 40分之28 / 44/ 64引脚基于闪存的8位CMOS微控制器与LCD驱动器和纳瓦技术 [28/40/44/64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology]
分类和应用: 驱动器闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 330 页 / 6045 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F916-I/SO的Datasheet PDF文件第229页浏览型号PIC16F916-I/SO的Datasheet PDF文件第230页浏览型号PIC16F916-I/SO的Datasheet PDF文件第231页浏览型号PIC16F916-I/SO的Datasheet PDF文件第232页浏览型号PIC16F916-I/SO的Datasheet PDF文件第234页浏览型号PIC16F916-I/SO的Datasheet PDF文件第235页浏览型号PIC16F916-I/SO的Datasheet PDF文件第236页浏览型号PIC16F916-I/SO的Datasheet PDF文件第237页  
PIC16F913/914/916/917/946  
16.3.1  
RB0/INT/SEG0 INTERRUPT  
16.3.2  
TMR0 INTERRUPT  
External interrupt on RB0/INT/SEG0 pin is edge-trig-  
gered; either rising if the INTEDG bit of the OPTION  
register is set, or falling, if the INTEDG bit is clear.  
When a valid edge appears on the RB0/INT/SEG0 pin,  
the INTF bit of the INTCON register is set. This inter-  
rupt can be disabled by clearing the INTE control bit of  
the INTCON register. The INTF bit must be cleared in  
software in the Interrupt Service Routine before  
re-enabling this interrupt. The RB0/INT/SEG0 interrupt  
can wake-up the processor from Sleep if the INTE bit  
was set prior to going into Sleep. The status of the GIE  
bit decides whether or not the processor branches to  
the interrupt vector following wake-up (0004h). See  
Section 16.5 “Power-Down Mode (Sleep)” for details  
on Sleep and Figure 16-10 for timing of wake-up from  
Sleep through RB0/INT/SEG0 interrupt.  
An overflow (FFh 00h) in the TMR0 register will set  
the T0IF bit of the INTCON register. The interrupt can  
be enabled/disabled by setting/clearing T0IE bit of the  
INTCON register. See Section 5.0 “Timer0 Module”  
for operation of the Timer0 module.  
16.3.3  
PORTB INTERRUPT  
An input change on PORTB change sets the RBIF bit  
of the INTCON register. The interrupt can be  
enabled/disabled by setting/clearing the RBIE bit of the  
INTCON register. Plus, individual pins can be  
configured through the IOCB register.  
Note:  
If a change on the I/O pin should occur  
when the read operation is being executed  
(start of the Q2 cycle), then the RBIF  
interrupt flag may not get set.  
FIGURE 16-7:  
INTERRUPT LOGIC  
IOC-RB4  
IOCB4  
IOC-RB5  
IOCB5  
IOC-RB6  
IOCB6  
IOC-RB7  
IOCB7  
TMR0IF  
TMR0IE  
Wake-up (If in Sleep mode)  
Interrupt to CPU  
TMR2IF  
TMR2IE  
INTF  
INTE  
RBIF  
RBIE  
TMR1IF  
TMR1IE  
C1IF  
C1IE  
PEIF  
PEIE  
C2IF  
C2IE  
ADIF  
ADIE  
GIE  
OSFIF  
OSFIE  
EEIF  
EEIE  
CCP1IF  
CCP1IE  
CCP2IF  
CCP2IE  
*
RCIF  
RCIE  
TXIF  
TXIE  
SSPIF  
SSPIE  
LCDIF  
LCDIE  
LVDIF  
LVDIE  
* Only available on the PIC16F914/917.  
© 2007 Microchip Technology Inc.  
DS41250F-page 231  
 复制成功!