English
Language : 

PIC16F87 Datasheet, PDF (206/214 Pages) Microchip Technology – 18/20/28-Pin Enhanced FLASH Microcontrollers with nanoWatt Technology
PIC16F87/88
O
Opcode Field Descriptions ............................................... 149
OPTION Register
INTEDG Bit ................................................................ 18
PS2:PS0 Bits .............................................................. 18
PSA Bit ....................................................................... 18
RBPU Bit .................................................................... 18
T0CS Bit ..................................................................... 18
T0SE Bit ..................................................................... 18
OSCCON Register ............................................................. 15
Oscillator Configuration ...................................................... 35
ECIO .......................................................................... 35
EXTRC ..................................................................... 134
HS ...................................................................... 35, 134
INTIO1 ........................................................................ 35
INTIO2 ........................................................................ 35
INTRC ...................................................................... 134
LP ....................................................................... 35, 134
RC ........................................................................ 35, 37
RCIO .......................................................................... 35
XT ....................................................................... 35, 134
Oscillator Control Register
Modifying IRCF Bits ................................................... 41
Clock Transition Sequence ................................ 41
Oscillator Delay upon Power-up, Wake-up and
Clock Switching .......................................................... 42
Oscillator Start-up Timer (OST) ............................... 129, 133
Oscillator Switching ............................................................ 39
OSCTUNE Register ........................................................... 15
P
Packaging Information ..................................................... 193
Marking .................................................................... 193
Paging, Program Memory .................................................. 25
PCL Register .......................................................... 14, 15, 25
PCLATH Register ................................................... 14, 15, 25
PCON Register .......................................................... 15, 134
BOR Bit ...................................................................... 24
POR Bit ...................................................................... 24
PICkit 1 FLASH Starter Kit ............................................... 161
PICSTART Plus Development Programmer .................... 159
PIE1 Register ..................................................................... 15
ADIE Bit ...................................................................... 20
CCP1IE Bit ................................................................. 20
RCIE Bit ..................................................................... 20
SSPIE Bit ................................................................... 20
TMR1IE Bit ................................................................. 20
TMR2IE Bit ................................................................. 20
TXIE Bit ...................................................................... 20
PIE2 Register ..................................................................... 15
CMIE Bit ..................................................................... 22
EEIE Bit ...................................................................... 22
OSFIE Bit ................................................................... 22
Pinout Descriptions
PIC16F87/88 ................................................................ 8
PIR1 Register ..................................................................... 14
ADIF Bit ...................................................................... 21
CCP1IF Bit ................................................................. 21
RCIF Bit ...................................................................... 21
SSPIF Bit .................................................................... 21
TMR1IF Bit ................................................................. 21
TMR2IF Bit ................................................................. 21
TXIF Bit ...................................................................... 21
PIR2 Register .................................................................... 14
CMIF Bit ..................................................................... 23
EEIF Bit ...................................................................... 23
OSFIF Bit ................................................................... 23
POP ................................................................................... 25
POR. See Power-on Reset.
PORTA ................................................................................ 8
Associated Register Summary .................................. 52
PORTA Register ........................................................ 14
PORTB ................................................................................ 9
Associated Register Summary .................................. 58
PORTB Register ........................................................ 14
Pull-up Enable (RBPU Bit) ......................................... 18
RB0/INT Edge Select (INTEDG Bit) .......................... 18
RB0/INT Pin, External .............................................. 140
RB2/SDO/RX/DT Pin ............................................98, 99
RB5/SS/TX/CK Pin .................................................... 98
RB7:RB4 Interrupt-on-Change ................................ 140
RB7:RB4 Interrupt-on-Change Enable
(RBIE Bit) ......................................................... 140
RB7:RB4 Interrupt-on-Change Flag
(RBIF Bit) ....................................................19, 140
TRISB Register .....................................................16, 97
PORTB Register ................................................................ 16
Postscaler, WDT
Assignment (PSA Bit) ................................................ 18
Rate Select (PS2:PS0 Bits) ....................................... 18
Power Managed Modes ..................................................... 43
RC_RUN .................................................................... 43
SEC_RUN .................................................................. 44
SEC_RUN/RC_RUN to Primary Clock Source .......... 45
Power-down Mode. See SLEEP.
Power-on Reset (POR) ............................. 129, 132, 133, 135
POR Status (POR Bit) ............................................... 24
Power Control (PCON) Register .............................. 134
Power-down (PD Bit) ............................................... 132
Time-out (TO Bit) ................................................17, 132
Power-up Timer (PWRT) ..........................................129, 133
PR2 Register ................................................................15, 79
Prescaler, Timer0
Assignment (PSA Bit) ................................................ 18
Rate Select (PS2:PS0 Bits) ....................................... 18
PRO MATE II Universal Device Programmer .................. 159
Program Counter
RESET Conditions ................................................... 135
Program Memory
Interrupt Vector .......................................................... 11
Map and Stack
PIC16F87/88 ..................................................... 11
Paging ........................................................................ 25
RESET Vector ........................................................... 11
Program Verification ........................................................ 147
PUSH ................................................................................. 25
R
R/W Bit ............................................................................... 93
RA0/AN0 Pin ........................................................................ 8
RA1/AN1 Pin ........................................................................ 8
RA2/AN2/CVREF/VREF- Pin .................................................. 8
RA3/AN3/VREF+/C1OUT Pin ............................................... 8
RA4/AN4/T0CKI/C2OUT Pin ............................................... 8
RA5/MCLR/VPP Pin ............................................................. 8
RA6/OSC2/CLKO Pin .......................................................... 8
RA7/OSC1/CLKI Pin ............................................................ 8
DS30487B-page 204
 2003 Microchip Technology Inc.