2010-2012 Microchip Technology Inc.
DS39977F-page 149
PIC18F66K80 FAMILY
10.1
INTCON Registers
The INTCON registers are readable and writable
registers that contain various enable, priority and flag
bits.
Note:
Interrupt flag bits are set when an interrupt
condition occurs regardless of the state of
its corresponding enable bit or the Global
Interrupt Enable bit. User software should
ensure the appropriate interrupt flag bits
are clear prior to enabling an interrupt.
This feature allows for software polling.
REGISTER 10-1:
INTCON: INTERRUPT CONTROL REGISTER
R/W-0
R/W-x
GIE/GIEH
PEIE/GIEL
TMR0IE
INT0IE
RBIE(2)
TMR0IF
INT0IF
RBIF(1)
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
GIE/GIEH:
Global Interrupt Enable bit
When IPEN = 0:
1
= Enables all unmasked interrupts
0
= Disables all interrupts
When IPEN = 1:
1
= Enables all high-priority interrupts
0
= Disables all interrupts
bit 6
PEIE/GIEL:
Peripheral Interrupt Enable bit
When IPEN = 0:
1
= Enables all unmasked peripheral interrupts
0
= Disables all peripheral interrupts
When IPEN = 1:
1
= Enables all low-priority peripheral interrupts
0
= Disables all low-priority peripheral interrupts
bit 5
TMR0IE:
TMR0 Overflow Interrupt Enable bit
1
= Enables the TMR0 overflow interrupt
0
= Disables the TMR0 overflow interrupt
bit 4
INT0IE:
INT0 External Interrupt Enable bit
1
= Enables the INT0 external interrupt
0
= Disables the INT0 external interrupt
bit 3
RBIE:
RB Port Change Interrupt Enable bit(2)
1
= Enables the RB port change interrupt
0
= Disables the RB port change interrupt
bit 2
TMR0IF:
TMR0 Overflow Interrupt Flag bit
1
= TMR0 register has overflowed (must be cleared in software)
0
= TMR0 register has not overflowed
bit 1
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
bit 0
RBIF:
RB Port Change Interrupt Flag bit(1)
1
= At least one of the RB<7:4> pins changed state (must be cleared in software)
0
= None of the RB<7:4> pins have changed state
Note 1:
A mismatch condition will continue to set this bit. To end the mismatch condition and allow the bit to be
cleared, read PORTB and wait one additional instruction cycle.
2:
Each pin on PORTB for interrupt-on-change is individually enabled and disabled in the IOCB register. By
default, all pins are disabled.
相关PDF资料
200346-2 CONN HOUSING RECEPT 20POS BLACK
PIC16F84A-20/P IC MCU FLASH 1KX14 EE 18DIP
200838-2 CONN HOUSING RECEPT 34POS BLACK
PIC18LF2420-I/SO IC MCU FLASH 8KX16 28SOIC
5172625-3 CONN RCPT HSNG 24POS BLUE PNL MT
202758-1 CONN HOUSING PLUG 6POS BLACK
TS80C31X2-VIC IC MCU 8BIT 40/30MHZ 44-PQFP
TS80C31X2-MCC IC MCU 8BIT 40/20MHZ 44-PQFP
相关代理商/技术参数
PIC18F6410-I/PT 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F6410 TQFP64
PIC18F6410T-I/PT 功能描述:8位微控制器 -MCU 16kBF 768RM 68I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6490-E/PT 功能描述:8位微控制器 -MCU 16kBF 768RM 68I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6490-I/PT 功能描述:8位微控制器 -MCU 16kBF 768RM 68I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6490-I/PT 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F6490 TQFP64
PIC18F6490-I/PT 制造商:Microchip Technology Inc 功能描述:8 BIT MICROCONTROLLER CLOCK SPEED:40MHZ
PIC18F6490T-I/PT 功能描述:8位微控制器 -MCU 16kBF 768RM 68I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F6493-I/PT 功能描述:8位微控制器 -MCU 128 Segmnt LCD DRVR 12B ADC 16KB 768BRAM RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT