Microchip Technology IC MCU 8BIT PIC18F65K22-I/PT TQFP-64 MCP PIC18F65K22-I/PT Data Sheet

Product codes
PIC18F65K22-I/PT
Page of 550
PIC18F87K22 FAMILY
DS39960D-page 144
 2009-2011 Microchip Technology Inc.
  
  
REGISTER 11-2:
INTCON2: INTERRUPT CONTROL REGISTER 2 
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
RBPU
INTEDG0
INTEDG1
INTEDG2
INTEDG3
TMR0IP
INT3IP
RBIP
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
RBPU:
 PORTB Pull-up Enable bit 
1
 = All PORTB pull-ups are disabled 
0
 = PORTB pull-ups are enabled by individual TRIS register values 
bit 6
INTEDG0: 
External Interrupt 0 Edge Select bit 
1
 = Interrupt on rising edge 
0
 = Interrupt on falling edge 
bit 5
INTEDG1:
 External Interrupt 1 Edge Select bit 
1
 = Interrupt on rising edge 
0
 = Interrupt on falling edge 
bit 4
INTEDG2:
 External Interrupt 2 Edge Select bit 
1
 = Interrupt on rising edge 
0
 = Interrupt on falling edge 
bit 3
INTEDG3:
 External Interrupt 3 Edge Select bit 
1
 = Interrupt on rising edge 
0
 = Interrupt on falling edge 
bit 2
TMR0IP:
 TMR0 Overflow Interrupt Priority bit 
1
  = High  priority 
0
 = Low priority 
bit 1
INT3IP:
 INT3 External Interrupt Priority bit
1
  = High  priority 
0
 = Low priority 
bit 0
RBIP:
 RB Port Change Interrupt Priority bit
1
  = High  priority 
0
 = Low priority 
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.