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

PIC16F886-I/SS 参数 Datasheet PDF下载

PIC16F886-I/SS图片预览
型号: PIC16F886-I/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚,增强基于闪存的8位CMOS微控制器采用纳瓦技术 [28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 288 页 / 5120 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F886-I/SS的Datasheet PDF文件第32页浏览型号PIC16F886-I/SS的Datasheet PDF文件第33页浏览型号PIC16F886-I/SS的Datasheet PDF文件第34页浏览型号PIC16F886-I/SS的Datasheet PDF文件第35页浏览型号PIC16F886-I/SS的Datasheet PDF文件第37页浏览型号PIC16F886-I/SS的Datasheet PDF文件第38页浏览型号PIC16F886-I/SS的Datasheet PDF文件第39页浏览型号PIC16F886-I/SS的Datasheet PDF文件第40页  
PIC16F882/883/884/886/887  
2.2.2.6  
PIR1 Register  
Note:  
Interrupt flag bits are set when an interrupt  
condition occurs, regardless of the state of  
its corresponding enable bit or the Global  
Enable bit, GIE of the INTCON register.  
User software should ensure the  
appropriate interrupt flag bits are clear prior  
to enabling an interrupt.  
The PIR1 register contains the interrupt flag bits, as  
shown in Register 2-6.  
REGISTER 2-6:  
PIR1: PERIPHERAL INTERRUPT REQUEST REGISTER 1  
U-0  
R/W-0  
ADIF  
R-0  
R-0  
R/W-0  
SSPIF  
R/W-0  
R/W-0  
R/W-0  
RCIF  
TXIF  
CCP1IF  
TMR2IF  
TMR1IF  
bit 7  
bit 0  
Legend:  
R = Readable bit  
-n = Value at POR  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
bit 7  
bit 6  
Unimplemented: Read as ‘0’  
ADIF: A/D Converter Interrupt Flag bit  
1= A/D conversion complete (must be cleared in software)  
0= A/D conversion has not completed or has not been started  
bit 5  
bit 4  
bit 3  
RCIF: EUSART Receive Interrupt Flag bit  
1= The EUSART receive buffer is full (cleared by reading RCREG)  
0= The EUSART receive buffer is not full  
TXIF: EUSART Transmit Interrupt Flag bit  
1= The EUSART transmit buffer is empty (cleared by writing to TXREG)  
0= The EUSART transmit buffer is full  
SSPIF: Master Synchronous Serial Port (MSSP) Interrupt Flag bit  
1= The MSSP interrupt condition has occurred, and must be cleared in software before returning from the  
Interrupt Service Routine. The conditions that will set this bit are:  
SPI  
A transmission/reception has taken place  
I C Slave/Master  
2
A transmission/reception has taken place  
I C Master  
2
The initiated Start condition was completed by the MSSP module  
The initiated Stop condition was completed by the MSSP module  
The initiated restart condition was completed by the MSSP module  
The initiated Acknowledge condition was completed by the MSSP module  
A Start condition occurred while the MSSP module was idle (Multi-master system)  
A Stop condition occurred while the MSSP module was idle (Multi-master system)  
0= No MSSP interrupt condition has occurred  
bit 2  
CCP1IF: CCP1 Interrupt Flag bit  
Capture mode:  
1= A TMR1 register capture occurred (must be cleared in software)  
0= No TMR1 register capture occurred  
Compare mode:  
1= A TMR1 register compare match occurred (must be cleared in software)  
0= No TMR1 register compare match occurred  
PWM mode:  
Unused in this mode  
bit 1  
bit 0  
TMR2IF: Timer2 to PR2 Interrupt Flag bit  
1= A Timer2 to PR2 match occurred (must be cleared in software)  
0= No Timer2 to PR2 match occurred  
TMR1IF: Timer1 Overflow Interrupt Flag bit  
1= The TMR1 register overflowed (must be cleared in software)  
0= The TMR1 register did not overflow  
DS41291D-page 34  
Preliminary  
© 2007 Microchip Technology Inc.  
 复制成功!