Datasheet
2002 Microchip Technology Inc. Preliminary DS39598C-page 155
PIC16F818/819
INTCON Register ............................................................... 15
GIE Bit ........................................................................ 18
INTE Bit ...................................................................... 18
INTF Bit ...................................................................... 18
RBIF Bit ...................................................................... 18
TMR0IE Bit ................................................................. 18
Internal Oscillator Block ..................................................... 35
INTRC Modes ............................................................ 36
Interrupt Sources .......................................................... 89, 96
RB0/INT Pin, External ................................................ 97
TMR0 Overflow .......................................................... 97
Interrupts
RB7:RB4 Port Change ............................................... 43
Synchronous Serial Port Interrupt .............................. 20
Interrupts, Context Saving During ...................................... 97
Interrupts, Enable Bits
Global Interrupt Enable (GIE Bit) ............................... 96
Interrupt-on-Change (RB7:RB4) Enable
(RBIE Bit) ........................................................... 97
RB0/INT Enable (INTE Bit) ........................................ 18
TMR0 Overflow Enable (TMR0IE Bit) ........................ 18
Interrupts, Enable bits
Global Interrupt Enable (GIE Bit) ............................... 18
Interrupts, Flag Bits
Interrupt-on-Change (RB7:RB4) Flag
(RBIF Bit) ..................................................... 18, 97
RB0/INT Flag (INTF Bit) ............................................. 18
TMR0 Overflow Flag (TMR0IF Bit) ............................. 97
INTRC Modes
Adjustment ................................................................. 36
K
KEELOQ Evaluation and Programming Tools ................... 114
L
Loading of PC .................................................................... 23
Low Voltage ICSP Programming ..................................... 101
M
Master Clear (MCLR)
MCLR
Reset, Normal Operation .....................91, 93, 94
MCLR
Reset, SLEEP ......................................91, 93, 94
Operation and ESD Protection ................................... 92
Memory Organization ........................................................... 9
Data Memory ............................................................. 10
Program Memory ......................................................... 9
MPLAB C17 and MPLAB C18 C Compilers ..................... 111
MPLAB ICD In-Circuit Debugger ...................................... 113
MPLAB ICE High Performance Universal
In-Circuit Emulator with MPLAB IDE ........................ 112
MPLAB Integrated Development
Environment Software .............................................. 111
MPLINK Object Linker/MPLIB Object Librarian ............... 112
O
OPCODE Field Descriptions ............................................ 103
OPTION Register ............................................................... 15
INTEDG Bit ................................................................ 17
PS2:PS0 Bits ............................................................. 17
PSA Bit ....................................................................... 17
RBPU
Bit .................................................................... 17
T0CS Bit ..................................................................... 17
T0SE Bit ..................................................................... 17
Oscillator Configuration ..................................................... 33
ECIO .......................................................................... 33
EXTCLK ..................................................................... 93
EXTRC ...................................................................... 93
HS .........................................................................33, 93
INTIO1 ....................................................................... 33
INTIO2 ....................................................................... 33
INTRC ........................................................................ 93
LP .........................................................................33, 93
RC ........................................................................33, 35
RCIO .......................................................................... 33
XT .........................................................................33, 93
Oscillator Control Register ................................................. 37
Modifying IRCF Bits ................................................... 37
Clock Transition Sequence ................................ 37
Oscillator Start-up Timer (OST) ....................................89, 92
Oscillator, WDT .................................................................. 98
P
Packaging Information ..................................................... 145
Marking .................................................................... 145
PCFG0 Bit .......................................................................... 82
PCFG1 Bit .......................................................................... 82
PCFG2 Bit .......................................................................... 82
PCFG3 Bit .......................................................................... 82
PCL Register .................................................... 13, 14, 15, 23
PCLATH Register ............................................. 13, 14, 15, 23
PCON Register .................................................................. 93
POR
Bit ...................................................................... 22
PICDEM 1 Low Cost PICmicro
Demonstration Board ............................................... 113
PICDEM 17 Demonstration Board ................................... 114
PICDEM 2 Low Cost PIC16CXX
Demonstration Board ............................................... 113
PICDEM 3 Low Cost PIC16CXXX
Demonstration Board ............................................... 114
PICSTART Plus Entry Level
Development Programmer ....................................... 113
Pinout Descriptions
PIC16F818/819 ........................................................... 7
Pointer, FSR ...................................................................... 23
POP ................................................................................... 23
POR. See Power-on Reset
PORTA ................................................................................ 7
Associated Register Summary .................................. 39
PORTA Register ................................................................ 13
PORTB ................................................................................ 8
Associated Register Summary .................................. 44
Pull-up Enable (RBPU
Bit) ......................................... 17
RB0/INT Edge Select (INTEDG Bit) .......................... 17
RB0/INT Pin, External ................................................ 97
RB7:RB4 Interrupt-on-Change .................................. 97
RB7:RB4 Interrupt-on-Change Enable
(RBIE Bit) ........................................................... 97
RB7:RB4 Interrupt-on-Change Flag
(RBIF Bit) ......................................................18, 97
PORTB Register ...........................................................13, 15
Postscaler, WDT
Assignment (PSA Bit) ................................................ 17
Rate Select (PS2:PS0 Bits) ....................................... 17
Power-down Mode. See SLEEP