[
Menu
]>[
Guide to use the PIC
]>[
873 Hardware
]>[
SFR
]
SFR explanation for PIC16F873(4)
INTCON ( Interruption Control register ) 0Bh,8Bh,10Bh,18Bh
By this register, various interruptin conditions are controlled.
The value in the parenthesis is in the condition immediately after the turning on.
GIE :
Global Interrupt Enable bit
1
:
Enables all un-masked interrupts
0
:
Disables all interrupts
PEIE :
Peripheral Interrupt Enable bit ( This bit should be set when using the CCP interruption so on )
1
:
Enables all un-masked peripheral interrupts
0
:
Disables all peripheral interrupts
T0IE :
TMR0 Overflow Interrupt Enable bit
1
:
Enables the TMR0 interrupt
0
:
Disables the TMR0 interrupt
INTE :
RB0/INT Interrupt Enable bit
1
:
Enables the RB0/INT interrupt
0
:
Disables the RB0/INT interrupt
RBIE :
RB Port Change Interrupt Enable bit
1
:
Enables the RB port change interrupt
0
:
Disables the RB port change interrupt
T0IF :
TMR0 Overflow Interrupt Flag bit
1
:
TMR0 has overflow ( must be cleared in software )
0
:
TMR0 did not overflow
INTF :
RB0/INT Interrupt Flag bit
1
:
The RB0/INT interrupt occurred ( must be cleared in software )
0
:
The RB0/INT interrupt did not occurred
RBIF :
RB Port Change Interrupt Flag bit
1
:
When 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