13.07.2015 Views

PIC16C55X, EPROM-Based 8-Bit CMOS MCU Data Sheet

PIC16C55X, EPROM-Based 8-Bit CMOS MCU Data Sheet

PIC16C55X, EPROM-Based 8-Bit CMOS MCU Data Sheet

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PIC16C55X</strong>4.2.2.3 INTCON REGISTERThe INTCON register is a readable and writableregister which contains the various enable and flag bitsfor all interrupt 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 4-7:INTCON REGISTER (ADDRESS 0BH OR 8BH)R/W-0 Reserved R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-xGIE — T0IE INTE RBIE T0IF INTF RBIF R = Readable bitbit7bit0 W = Writable bit- n = Value at POR reset- x = Unknown at POR resetbit 7: GIE: Global Interrupt Enable bit1 = Enables all un-masked interrupts0 = Disables all interruptsbit 6: — = Reserved for future use. Always maintain this bit clear.bit 5: T0IE: TMR0 Overflow Interrupt Enable bit1 = Enables the TMR0 interrupt0 = Disables the TMR0 interruptbit 4: INTE: RB0/INT External Interrupt Enable bit1 = Enables the RB0/INT external interrupt0 = Disables the RB0/INT external 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 register has overflowed (must be cleared in software)0 = TMR0 register did not overflowbit 1: INTF: RB0/INT External Interrupt Flag bit1 = The RB0/INT external interrupt occurred (must be cleared in software)0 = The RB0/INT external interrupt did not occurbit 0: RBIF: RB Port Change Interrupt Flag bit1 = 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 stateDS40143C-page 18 Preliminary © 1998 Microchip Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!