PIC16F870-I/SP Microchip Technology Inc., PIC16F870-I/SP Datasheet - Page 56

no-image

PIC16F870-I/SP

Manufacturer Part Number
PIC16F870-I/SP
Description
28 PIN, 7 KB FLASH, 128 RAM, 22 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F870-I/SP

A/d Inputs
5-Channel, 10-Bit
Cpu Speed
5 MIPS
Eeprom Memory
64 Bytes
Input Output
22
Interface
USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F870-I/SP
Manufacturer:
MICROCHIP
Quantity:
5 600
Part Number:
PIC16F870-I/SP
Quantity:
2 871
PIC16F870/871
7.1
The prescaler and postscaler counters are cleared
when any of the following occurs:
• a write to the TMR2 register
• a write to the T2CON register
• any device RESET (POR, MCLR Reset, WDT
TMR2 is not cleared when T2CON is written.
TABLE 7-1:
DS30569B-page 54
0Bh,8Bh,
10Bh,18Bh
0Ch
8Ch
11h
12h
92h
Legend:
Note 1:
Address
Reset, or BOR)
Timer2 Prescaler and Postscaler
INTCON
PIR1
PIE1
TMR2
T2CON
PR2
x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used by the Timer2 module.
Bits PSPIE and PSPIF are reserved on the PIC16F870; always maintain these bits clear.
Name
REGISTERS ASSOCIATED WITH TIMER2 AS A TIMER/COUNTER
PSPIF
PSPIE
Timer2 Module’s Register
Timer2 Period Register
Bit 7
GIE
(1)
(1)
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
ADIE
Bit 6
PEIE
ADIF
RCIE
RCIF
Bit 5
T0IE
Bit 4
INTE
TXIF
TXIE
RBIE
Bit 3
7.2
The output of TMR2 (before the postscaler) is fed to the
SSP module, which optionally uses it to generate shift
clock.
CCP1IF
CCP1IE
Bit 2
T0IF
Output of TMR2
TMR2IE
TMR2IF
Bit 1
INTF
 2003 Microchip Technology Inc.
TMR1IE 0000 -000 0000 -000
TMR1IF 0000 -000 0000 -000
Bit 0
RBIF
0000 000x 0000 000u
0000 0000 0000 0000
1111 1111 1111 1111
POR, BOR
Value on:
Value on
RESETS
all other

Related parts for PIC16F870-I/SP