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

PIC18F8680-I/PT 参数 Datasheet PDF下载

PIC18F8680-I/PT图片预览
型号: PIC18F8680-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 64 /68/ 80引脚高性能, 64 KB的增强型闪存微控制器与ECAN模块 [64/68/80-Pin High-Performance, 64-Kbyte Enhanced Flash Microcontrollers with ECAN Module]
分类和应用: 闪存微控制器
文件页数/大小: 496 页 / 8365 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F8680-I/PT的Datasheet PDF文件第109页浏览型号PIC18F8680-I/PT的Datasheet PDF文件第110页浏览型号PIC18F8680-I/PT的Datasheet PDF文件第111页浏览型号PIC18F8680-I/PT的Datasheet PDF文件第112页浏览型号PIC18F8680-I/PT的Datasheet PDF文件第114页浏览型号PIC18F8680-I/PT的Datasheet PDF文件第115页浏览型号PIC18F8680-I/PT的Datasheet PDF文件第116页浏览型号PIC18F8680-I/PT的Datasheet PDF文件第117页  
PIC18F6585/8585/6680/8680  
9.1  
INTCON Registers  
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. User software should ensure  
the appropriate interrupt flag bits are clear  
prior to enabling an interrupt. This feature  
allows for software polling.  
The INTCON registers are readable and writable  
registers which contain various enable, priority and flag  
bits.  
REGISTER 9-1:  
INTCON REGISTER  
R/W-0 R/W-0  
R/W-0  
R/W-0  
R/W-0  
RBIE  
R/W-0  
R/W-0  
INT0IF  
R/W-x  
RBIF  
GIE/GIEH PEIE/GIEL  
bit 7  
TMR0IE  
INT0IE  
TMR0IF  
bit 0  
bit 7  
GIE/GIEH: Global Interrupt Enable bit  
When IPEN (RCON<7>) = 0:  
1= Enables all unmasked interrupts  
0= Disables all interrupts  
When IPEN (RCON<7>) = 1:  
1= Enables all high priority interrupts  
0= Disables all interrupts  
bit 6  
PEIE/GIEL: Peripheral Interrupt Enable bit  
When IPEN (RCON<7>) = 0:  
1= Enables all unmasked peripheral interrupts  
0= Disables all peripheral interrupts  
When IPEN (RCON<7>) = 1:  
1= Enables all low priority peripheral interrupts  
0= Disables all low priority peripheral interrupts  
bit 5  
bit 4  
bit 3  
bit 2  
bit 1  
bit 0  
TMR0IE: TMR0 Overflow Interrupt Enable bit  
1= Enables the TMR0 overflow interrupt  
0= Disables the TMR0 overflow interrupt  
INT0IE: INT0 External Interrupt Enable bit  
1= Enables the INT0 external interrupt  
0= Disables the INT0 external interrupt  
RBIE: RB Port Change Interrupt Enable bit  
1= Enables the RB port change interrupt  
0= Disables the RB port change interrupt  
TMR0IF: TMR0 Overflow Interrupt Flag bit  
1= TMR0 register has overflowed (must be cleared in software)  
0= TMR0 register did not overflow  
INT0IF: INT0 External Interrupt Flag bit  
1= The INT0 external interrupt occurred (must be cleared in software)  
0= The INT0 external interrupt did not occur  
RBIF: RB Port Change Interrupt Flag bit  
1= At least one of the RB7:RB4 pins changed state (must be cleared in software)  
0= None of the RB7:RB4 pins have changed state  
Note:  
A mismatch condition will continue to set this bit. Reading PORTB will end the  
mismatch condition and allow the bit to be cleared.  
Legend:  
R = Readable bit  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
- n = Value at POR  
2004 Microchip Technology Inc.  
DS30491C-page 111