Datasheet

PIC16F882/883/884/886/887
DS41291F-page 318 © 2009 Microchip Technology Inc.
RETURN...................................................................237
RLF ...........................................................................238
RRF...........................................................................238
SLEEP ......................................................................238
SUBLW .....................................................................238
SUBWF.....................................................................239
SWAPF .....................................................................239
XORLW.....................................................................239
XORWF.....................................................................239
Summary Table.........................................................232
INTCON Register................................................................31
Inter-Integrated Circuit. See I
2
C
Internal Oscillator Block ....................................................256
INTOSC
Specifications....................................................257
Internal Sampling Switch (R
SS) Impedance......................107
Internet Address................................................................323
Interrupts...........................................................................220
ADC ..........................................................................103
Associated Registers ................................................222
Context Saving..........................................................223
Interrupt-on-Change.................................................... 47
PORTB Interrupt-on-Change ....................................221
RB0/INT ....................................................................220
Timer0.......................................................................221
TMR1 ..........................................................................78
INTOSC
Specifications............................................................256
INTOSC Specifications .............................................256, 257
IOCB Register.....................................................................49
L
Load Conditions ................................................................254
M
Master Mode .....................................................................193
Master Mode Support........................................................193
Master Synchronous Serial Port. See MSSP
MCLR
................................................................................213
Internal ......................................................................213
Memory Organization.......................................................... 21
Data ............................................................................22
Program ......................................................................21
Microchip Internet Web Site..............................................323
Migrating from other PICmicro Devices ............................313
MPLAB ASM30 Assembler, Linker, Librarian ...................242
MPLAB ICD 2 In-Circuit Debugger....................................243
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator ....................................................243
MPLAB Integrated Development Environment Software ..241
MPLAB PM3 Device Programmer.....................................243
MPLAB REAL ICE In-Circuit Emulator System.................243
MPLINK Object Linker/MPLIB Object Librarian ................242
MSSP................................................................................179
Block Diagram (SPI Mode) .......................................183
I
2
C Mode. See I
2
C
SPI Mode ..................................................................183
SPI Mode. See SPI
MSSP Module
Control Registers ......................................................179
I
2
C Operation ............................................................189
SPI Master Mode ......................................................185
SPI Slave Mode ........................................................186
Multi-Master Communication, Bus Collision and
Bus Arbitration ..........................................................203
Multi-Master Mode ............................................................203
O
OPCODE Field Descriptions............................................. 231
OPTION Register................................................................ 30
OPTION_REG Register...................................................... 75
OSCCON Register.............................................................. 62
Oscillator
Associated Registers............................................ 72, 80
Oscillator Module................................................................ 61
EC............................................................................... 61
HFINTOSC ................................................................. 61
HS............................................................................... 61
INTOSC ...................................................................... 61
INTOSCIO .................................................................. 61
LFINTOSC .................................................................. 61
LP ............................................................................... 61
RC .............................................................................. 61
RCIO........................................................................... 61
XT ............................................................................... 61
Oscillator Parameters ....................................................... 256
Oscillator Specifications.................................................... 255
Oscillator Start-up Timer (OST)
Specifications ........................................................... 259
Oscillator Switching
Fail-Safe Clock Monitor .............................................. 71
Two-Speed Clock Start-up.......................................... 69
OSCTUNE Register............................................................ 66
P
P1A/P1B/P1C/P1D.See Enhanced Capture/
Compare/PWM (ECCP)............................................ 132
Packaging......................................................................... 301
Marking............................................................. 301, 302
PDIP Details ............................................................. 303
PCL and PCLATH............................................................... 37
Stack........................................................................... 37
PCON Register........................................................... 36, 215
PICSTART Plus Development Programmer..................... 244
PIE1 Register...................................................................... 32
PIE2 Register...................................................................... 33
Pin Diagram
PIC16F883/886, 28-pin (PDIP, SOIC, SSOP).............. 3
PIC16F883/886, 28-pin (QFN)...................................... 4
PIC16F884/887, 40-Pin (PDIP) .................................... 6
PIC16F884/887, 44-pin (QFN)...................................... 8
PIC16F884/887, 44-pin (TQFP).................................. 10
Pinout Descriptions
PIC16F883/886 .......................................................... 16
PIC16F884/887 .......................................................... 18
PIR1 Register ..................................................................... 34
PIR2 Register ..................................................................... 35
PORTA ............................................................................... 39
Additional Pin Functions ............................................. 40
ANSEL Register ................................................. 40
Ultra Low-Power Wake-up............................ 40, 41
Associated Registers.................................................. 46
Pin Descriptions and Diagrams .................................. 42
RA0............................................................................. 42
RA1............................................................................. 43
RA2............................................................................. 43
RA3............................................................................. 44
RA4............................................................................. 44
RA5............................................................................. 45
RA6............................................................................. 45
RA7............................................................................. 46
Specifications ........................................................... 257