PIC16F870/871
1999 Microchip Technology Inc. Preliminary DS30569A-page 147
PORTA Register ................................................................13
PORTB .......................................................................7, 8, 15
PORTB Register ........................................................29
Pull-up Enable (RBPU Bit) .............. ................... ........17
RB0/INT Edge Select (INTEDG Bit) . ..........................17
RB0/INT Pin, External ......................................7, 8, 100
RB3:RB0 Port Pins ....................................................29
RB7:RB4 Interrupt on Change .................................100
RB7:RB4 Interrupt on Change Enable
(RBIE Bit) ...........................................................18, 100
RB7:RB4 Interrupt on Change Flag
(RBIF Bit) .....................................................18, 29, 100
RB7:RB4 Port Pins ....................................................29
TRISB Register ..........................................................29
PORTB Register ................................................................13
PORTC ......................................................................7, 8, 15
Block Diag ram ........ .............. ................... ............... ....31
PORTC Register ........................................................31
RC0/T1OSO/T1CKI Pin ...........................................7, 8
RC1/T1OSI/CCP2 Pin ..............................................7, 8
RC2/CCP1 Pin .........................................................7, 8
RC3 Pin ....................................................................7, 8
RC4 Pin ....................................................................7, 8
RC5 Pin ....................................................................7, 8
RC6/TX/CK Pin ..................................................7, 8, 64
RC7/RX/DT Pin ............................................7, 8, 64, 65
TRISC Register ....................................................31, 63
PORTC Register ................................................................13
PORTD ....................................................................9, 15, 36
Block Diag ram ........ .............. ............... ................... ....33
Parallel Slave Port (PSP) Function ............................33
PORTD Register ........................................................33
TRISD Register ................ ............... ................... ........33
PORTD Register ................................................................13
PORTE ...........................................................................9, 15
Analog Port Pins ..............................................9, 35, 36
Block Diag ram ........ .............. ................... ............... ....34
Input Buffer Full Status (IBF Bit) ................................34
Input Buffer Overflow (IBOV Bit) ................................34
Output Buffer Full Status (OBF Bit) ............................34
PORTE Register ........................................................34
PSP Mode Select (PS PMODE Bit) ................33, 34, 36
RE0/RD/AN5 Pin ..............................................9, 35, 36
RE1/WR/AN6 Pin .............................................9, 35, 36
RE2/CS/AN7 Pin ..............................................9, 35, 36
TRISE Register ..........................................................34
PORTE Register ................................................................13
Postscaler, WDT
Assignment (PS A Bit) .......... ................... ...................17
Rate Select (PS2:PS0 Bits) .......................................17
Power-down Mode.
See
SLEEP
Power-on Reset (POR) ..............................89, 93, 94, 95, 96
Oscillator Start-up Timer (OST) ...........................89, 94
POR Status (PO R Bit) ........ ....................... .................23
Power Control (PCON) Register ................................94
Power-down (PD Bit) ...........................................16, 93
Power-up Timer (PWRT) .....................................89, 94
Time-o ut (TO Bit) .................................................16, 93
Time-out Sequence on Power-up ........................97, 98
PR2 .................................................................................... 15
PR2 Register ................................................................14, 55
Prescaler, Timer0
Assignment (PS A Bit) .......... ................... ...................17
Rate Select (PS2:PS0 Bits) .......................................17
PRO MA TE II Universal Programmer ...........................115
Product Identification System ..........................................193
Program Counter
Reset Conditions ......................................... .... .. .... .... 95
Program Memory ............................................................... 11
Interrupt Vector .......................................................... 11
Paging ................................................................. 11, 24
Program Memory Map ............................................... 11
Reset Vector .............................................................. 11
Program Verification ........................................................ 103
Programming Pin (VPP) ................................................... 7, 8
Programming, Device Instructions ................................... 105
PUSH ................................................................................. 24
R
RAM.
See
Data Memory
RCREG .............................................................................. 15
RCSTA Register .......................................................... 15, 64
CREN Bit ................. ................... ................... ............ 64
FERR Bit .................................................................... 64
OERR Bit ................................................................... 64
RX9 Bit ...................................................................... 64
RX9D Bit ........................... .................. ................... .... 64
SPEN Bit .............................................................. 63, 64
SREN Bit ........... ................... ................... .................. 64
Register File ............. ................... .............. ................... ...... 11
Register File Map ............................................................... 12
Registers
FSR Summary ........................................................... 15
INDF Summary .......................................................... 15
INTCON Summary .................................................... 15
OPTION Summary .................................................... 15
PCL Summary ........................................................... 15
PCLATH Summary .... ................... ................... .......... 15
PORTB Summary ...................................................... 15
STATUS Sum mary .... ................... ....................... ...... 15
TMR0 Summary ........................................................ 15
TRISB Summary ........................................................ 15
Reset ........................................................................... 89, 93
Block Diag ram ............. ............... ............... ................ 93
Reset Conditions for All Registers ............................. 96
Reset Conditions for PCON Register ........................ 95
Reset Conditions for Program Counter ..................... 95
Reset Conditions for STATUS Register .................... 95
S
SEEVAL Evaluation and Programming System ........... 116
SLEEP ................................................................. 89, 93, 102
Softwar e Simulat or ( MP L AB-SIM) ...... ............... .............. 114
SPBRG .............................................................................. 15
SPBRG Register ................................................................ 14
Special Features of the CPU ............................................. 89
Special Function Registers ................................................ 13
Special Function Register Summary ......................... 13
Speed, Operating ................................................................ 1
Stack .................................................................................. 24
Overflows ................................................................... 24
Underflow .................................................................. 24
STATUS Register ........................................................ 15, 16
C Bit ........................................................................... 16
DC Bit ........................................................................ 16
IRP Bit ......... ....................... ................... .................. .. 16
PD Bit .................................................................. 16, 93
RP1:RP0 Bits ....... ............... ................... .................... 16
TO Bit .................................................................. 16, 93
Z Bit ............... ....................... ................... .................. 16