PIC16F628-20/P Microchip Technology Inc., PIC16F628-20/P Datasheet - Page 53
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F628-20/P
Manufacturer Part Number
PIC16F628-20/P
Description
18 PIN, 3.5 KB FLASH, 224 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F628-20P.pdf
(170 pages)
Specifications of PIC16F628-20/P
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
16
Interface
SCI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
224 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
- Current page: 53 of 170
- Download datasheet (5Mb)
REGISTER 8-1:
TABLE 8-1:
2003 Microchip Technology Inc.
0Bh/8Bh/
10Bh/18Bh
0Ch
8Ch
11h
12h
92h
Legend:
Address Name
bit 7
bit 6-3
bit 2
bit 1-0
x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by the Timer2 module.
INTCON
PIR1
PIE1
TMR2
T2CON
PR2
REGISTERS ASSOCIATED WITH TIMER2 AS A TIMER/COUNTER
bit 7
Unimplemented: Read as '0'
TOUTPS3:TOUTPS0: Timer2 Output Postscale Select bits
0000 = 1:1 Postscale Value
0001 = 1:2 Postscale Value
•
•
•
1111 = 1:16 Postscale
TMR2ON: Timer2 On bit
1 = Timer2 is on
0 = Timer2 is off
T2CKPS1:T2CKPS0: Timer2 Clock Prescale Select bits
00 = 1:1 Prescaler Value
01 = 1:4 Prescaler Value
1x = 1:16 Prescaler Value
Legend:
R = Readable bit
-n = Value at POR
Timer2 module’s register
Timer2 Period Register
Bit 7
EEIF
EEIE
T2CON: TIMER CONTROL REGISTER (ADDRESS: 12h)
U-0
GIE
—
—
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
TOUTPS3 TOUTPS2 TOUTPS1
Bit 6
CMIE
CMIF
PEIE
R/W-0
Bit 5
RCIF
RCIE
T0IE
R/W-0
W = Writable bit
’1’ = Bit is set
Bit 4
Preliminary
INTE
TXIE
TXIF
R/W-0
Bit 3
RBIE
—
—
CCP1IF
CCP1IE
Bit 2
TOUTPS0
T0IF
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
R/W-0
TMR2IE
TMR2IF
Bit 1
INTF
TMR2ON T2CKPS1 T2CKPS0
R/W-0
TMR1IE
TMR1IF
Bit 0
RBIF
PIC16F62X
x = Bit is unknown
R/W-0
Value on
0000 000x 0000 000u
0000 -000 0000 -000
0000 -000 0000 -000
0000 0000 0000 0000
1111 1111 1111 1111
POR
DS40300C-page 51
Value on
RESETS
all other
R/W-0
bit 0
Related parts for PIC16F628-20/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F628-20I/P](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
18 PIN, 3.5 KB FLASH, 224 RAM, 16 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F628-04I/P](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
18 PIN, 3.5 KB FLASH, 224 RAM, 16 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F1826-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F727-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MQ](/photos/18/99/189937/4243194_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F874-20/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, MQFP-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F690-E/ML](/photos/6/64/66481/c04-126_ml_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, QFN-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet: