PIC16F84A 18-pin Enhanced Flash/EEPROM 8-Bit MCU Data Sheet
PIC16F84A 18-pin Enhanced Flash/EEPROM 8-Bit MCU Data Sheet
PIC16F84A 18-pin Enhanced Flash/EEPROM 8-Bit MCU Data Sheet
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>PIC16F84A</strong>2.2.2.3 INTCON REGISTERThe INTCON register is a readable and writableregister which contains the various enable bits for allinterrupt sources.Note:Interrupt flag bits get set when an interruptcondition occurs regardless of the state ofits corresponding enable bit or the globalenable bit, GIE (INTCON).FIGURE 2-1: INTCON REGISTER (ADDRESS 0Bh, 8Bh)R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-xGIE EEIE T0IE INTE RBIE T0IF INTF RBIF R = Readable bitbit7bit0 W = Writable bitU = Unimplemented bit,read as ‘0’- n = Value at POR resetbit 7: GIE: Global Interrupt Enable bit1 = Enables all un-masked interrupts0 = Disables all interruptsNote: For the operation of the interrupt structure, please refer to Section •.bit 6: EEIE: EE Write Complete Interrupt Enable bit1 = Enables the EE write complete interrupt0 = Disables the EE write complete interruptbit 5: T0IE: TMR0 Overflow Interrupt Enable bit1 = Enables the TMR0 interrupt0 = Disables the TMR0 interruptbit 4: INTE: RB0/INT Interrupt Enable bit1 = Enables the RB0/INT interrupt0 = Disables the RB0/INT interruptbit 3: RBIE: RB Port Change Interrupt Enable bit1 = Enables the RB port change interrupt0 = Disables the RB port change interruptbit 2: T0IF: TMR0 Overflow Interrupt Flag bit1 = TMR0 has overflowed (must be cleared in software)0 = TMR0 did not overflowbit 1: INTF: RB0/INT Interrupt Flag bit1 = The RB0/INT interrupt occurred0 = The RB0/INT interrupt did not occurbit 0: RBIF: RB Port Change Interrupt Flag bit1 = When at least one of the RB7:RB4 <strong>pin</strong>s changed state (must be cleared in software)0 = None of the RB7:RB4 <strong>pin</strong>s have changed stateDS35007A-page 10 Preliminary © 1998 Microchip Technology Inc.