PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 73

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
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
FIGURE 10-1:
REGISTER 10-1:
© 2006 Microchip Technology Inc.
Comparator 1
Comparator 2
Note 1: See Register 10-1, bits 3-0.
C1V
V
C2V
DD
bit 7
bit 6
bit 5
bit 4
bit 3-0
REF
REF
Input
Input
CVREN
CVROE
to
to
CV
REF
(1)
C1VREN: Comparator 1 Voltage Reference Enable bit
1 = CV
0 = 1.2 Volt VR routed to C1V
C2VREN: Comparator 2 Voltage Reference Enable bit
1 = CV
0 = 1.2 Volt VR routed to C2V
VRR: Comparator Voltage Reference CV
1 = Low Range
0 = High Range
Unimplemented: Read as ‘0’
VR<3:0>: Comparator Voltage Reference CV
When VRR = 1 and CVREN = 1: CV
When VRR = 0 and CVREN = 1: CV
When CxVREN = 0 and VREN = 1: CxV
COMPARATOR VOLTAGE REFERENCE BLOCK DIAGRAM
VRCON: VOLTAGE REFERENCE CONTROL REGISTER (ADDRESS: 99h)
C1VREN
bit 7
Legend:
R = Readable bit
-n = Value at POR
Note 1: When C1VREN, C2VREN and CVROE (Register 10-2) are all low, the CV
1
0
1
0
R/W-0
REF
REF
(1)
circuit powered on and routed to C1V
circuit powered on and routed to C2V
8R
is powered down and does not contribute to I
C2VREN
C1VREN
C2VREN
16-1 Analog
R/W-0
MUX
15
0
·
·
·
R
1.2 V
(1)
VR3:VR0
VR
R/W-0
Preliminary
VRR
W = Writable bit
‘1’ = bit is set
REF
REF
R
input of comparator 1
input of comparator 2
16 Stages
REF
REF
REF
= (VR<3:0> x V
= (V
REF
U-0
= 1.2V from VR module
DD
Range Selection bit
REF
/4) + (VR<3:0> x V
R
REF
REF
PIC16F785/HV785
Value Selection 0
U = Unimplemented bit, read as ‘0’
‘0’ = bit is cleared
R/W-0
VR3
input of comparator 1
input of comparator 2
(1)
(1)
DD
DD
R
/24)
current.
R/W-0
VR2
DD
/32)
VR<3:0>
8R
x = bit is unknown
R/W-0
VR1
DS41249D-page 71
15
REF
R/W-0
VR0
VRR
circuit
bit 0

Related parts for PIC16F785-I/P