Online PIC Compiler

INTCON Register

GIE
EEIE T0IE INTE RBIE T0IF INTF RBIF
7
6 5 4 3 2 1 0



7
GIE 1: Enables all unmasked interrupts
0: Disables all interrupts
6
EEIE 1: Enables the EE write complete interrupt
0: Disables the EE write complete interrupt
5
T0IE 1:Enables the TMR0 overflow interrupt
0:Disables the TMR0 overflow interrupt
4
INTE 1:Enables the RB0/INT external Interrupt
0:Disables the RB0/INT external Interrupt
3
RBIE 1:Enables the RB port change interrupt
0:Disables the RB port change interrupt
2
T0IF TMR0 Overflow Flag
1:TMR0 has overflowed (must be cleared in software)
0:TMR0 did not overflow
1
INTF RB0/INT External Interrupt Flag
1:RB0/INT External Interrupt occured (must be cleared in software)
0:RB0/INT External Interrupt did not occur
0
RBIF RB Port Change Interrupt Flag
1:At least one of RB7 to RB4 pins changed state (must be cleared in software)
0:None of RB7 to RB4 pins have changed state
*REFERENCE: PIC16F84A Datasheet