16F870 Microchip, 16F870 Datasheet - Page 166
![no-image](/images/no-image-200.jpg)
16F870
Manufacturer Part Number
16F870
Description
Search -----> PIC16F870
Manufacturer
Microchip
Datasheet
1.16F870.pdf
(172 pages)
PIC16F870/871
PORTC.............................................................................. 7, 8
PORTC Register ................................................................. 13
PORTD............................................................................ 9, 42
PORTD Register ................................................................. 13
PORTE.................................................................................. 9
PORTE Register ................................................................. 13
Postscaler, WDT
Power-down Mode. See SLEEP.
Power-on Reset (POR) ..................................... 87, 91, 92, 93
PR2 ..................................................................................... 15
PR2 Register................................................................. 14, 53
Prescaler, Timer0
PRO MATE II Universal Device Programmer ................... 113
Product Identification System............................................ 169
Program Counter
Program Memory ................................................................ 11
Program Verification.......................................................... 101
Programming, Device Instructions .................................... 103
DS30569B-page 164
Associated Registers .................................................. 37
PORTC Register ......................................................... 37
RC0/T1OSO/T1CKI Pin ............................................ 7, 8
RC1/T1OSI 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, 62
RC7/RX/DT Pin ............................................. 7, 8, 62, 63
TRISC Register ..................................................... 37, 61
Associated Registers .................................................. 38
Parallel Slave Port (PSP) Function ............................. 38
PORTD Register ......................................................... 38
RD0/PSP0 Pin .............................................................. 9
RD1/PSP1 Pin .............................................................. 9
RD2/PSP2 Pin .............................................................. 9
RD3/PSP3 Pin .............................................................. 9
RD4/PSP4 Pin .............................................................. 9
RD5/PSP5 Pin .............................................................. 9
RD6/PSP6 Pin .............................................................. 9
RD7/PSP7 Pin .............................................................. 9
TRISD Register ........................................................... 38
Analog Port Pins ................................................... 41, 42
Associated Registers .................................................. 41
Input Buffer Full Status (IBF Bit) ................................. 40
Input Buffer Overflow (IBOV Bit) ................................. 40
Output Buffer Full Status (OBF Bit)............................. 40
PORTE Register ......................................................... 39
PSP Mode Select (PSPMODE Bit) ........... 38, 39, 40, 42
RE0/RD/AN5 Pin............................................... 9, 41, 42
RE1/WR/AN6 Pin .............................................. 9, 41, 42
RE2/CS/AN7 Pin............................................... 9, 41, 42
TRISE Register ........................................................... 39
Assignment (PSA Bit) ................................................. 17
Oscillator Start-up Timer (OST) ............................ 87, 92
POR Status (POR Bit)................................................. 23
Power Control (PCON) Register ................................. 92
Power-down (PD Bit) .................................................. 91
Power-up Timer (PWRT) ...................................... 87, 92
Time-out (TO Bit) ........................................................ 91
Assignment (PSA Bit) ................................................. 17
RESET Conditions ...................................................... 93
Interrupt Vector ........................................................... 11
Map and Stack ............................................................ 11
Paging ......................................................................... 24
RESET Vector............................................................. 11
Pulse Width Modulation.
PUSH.................................................................................. 24
R
RAM. See Data Memory.
RCREG Register ................................................................ 13
RCSTA Register ................................................................. 13
Register File........................................................................ 11
Register File Map................................................................ 12
Registers
Reset ............................................................................ 87, 91
Reset
Revision History................................................................ 157
S
SCI. See USART
Serial Communication Interface. See USART.
SLEEP .................................................................. 87, 91, 100
Software Simulator (MPLAB SIM) .................................... 112
Software Simulator (MPLAB SIM30) ................................ 112
SPBRG ............................................................................... 15
SPBRG Register................................................................. 14
Special Features of the CPU .............................................. 87
Special Function Registers ................................................. 13
Speed, Operating.................................................................. 1
SSPADD Register............................................................... 15
SSPSTAT Register ............................................................. 15
Stack................................................................................... 24
See Capture/Compare/PWM, PWM Mode.
ADDEN Bit .................................................................. 62
CREN Bit .................................................................... 62
FERR Bit..................................................................... 62
OERR Bit .................................................................... 62
RX9 Bit ....................................................................... 62
RX9D Bit ..................................................................... 62
SPEN Bit............................................................... 61, 62
SREN Bit .................................................................... 62
ADCON0 (A/D Control 0)............................................ 79
ADCON1 (A/D Control 1)............................................ 80
CCP1CON (CCP Control 1)........................................ 55
EECON1 (EEPROM Control 1) .................................. 28
INTCON ...................................................................... 18
OPTION_REG ...................................................... 17, 46
PCON (Power Control) ............................................... 23
PIE1 (Peripheral Interrupt Enable 1)........................... 19
PIE2 (Peripheral Interrupt Enable 2)........................... 21
PIR1 (Peripheral Interrupt Request Flag 1) ................ 20
PIR2 (Peripheral Interrupt Request Flag 2) ................ 22
RCSTA (Receive Status and Control) ........................ 62
STATUS ..................................................................... 16
T1CON (Timer1 Control) ............................................ 49
T2CON (Timer 2 Control) ........................................... 53
TRISE ......................................................................... 40
TXSTA (Transmit Status and Control) ........................ 61
MCLR Reset. See MCLR.
RESET Conditions for All Registers ........................... 93
RESET Conditions for PCON Register....................... 93
RESET Conditions for Program Counter .................... 93
RESET Conditions for STATUS Register ................... 93
Brown-out Reset (BOR). See Brown-out Reset (BOR).
Power-on Reset (POR). See Power-on Reset (POR).
WDT Reset. See Watchdog Timer (WDT).
Special Function Register Summary .......................... 13
Overflows.................................................................... 24
Underflow ................................................................... 24
2003 Microchip Technology Inc.