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

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
REGISTER 12-3:
© 2006 Microchip Technology Inc.
bit 7
bit 6
bit 5-2
bit 1
bit 0
ADCON0: A/D CONTROL REGISTER (ADDRESS: 1Fh)
ADFM: A/D Result Formed Select bit
1 = Right justified
0 = Left justified
VCFG: Voltage Reference bit
1 = V
0 = V
CHS<3:0>: Analog Channel Select bits
0000 = Channel 00 (AN0)
0001 = Channel 01 (AN1)
0010 = Channel 02 (AN2)
0011 = Channel 03 (AN3)
0100 = Channel 04 (AN4)
0101 = Channel 05 (AN5)
0110 = Channel 06 (AN6)
0111 = Channel 07 (AN7)
1000 = Channel 08 (AN8)
1001 = Channel 09 (AN9)
1010 = Channel 10 (AN10)
1011 = Channel 11 (AN11)
1100 = CV
1101 = VR
1110 = Reserved. Do not use.
1111 = Reserved. Do not use.
GO/DONE: A/D Conversion Status bit
1 = A/D conversion cycle in progress. Setting this bit starts an A/D conversion cycle.
0 = A/D conversion completed/not in progress
ADON: A/D Enable bit
1 = A/D converter module is enabled
0 = A/D converter is shut-off and consumes no operating current
Legend:
R = Readable bit
-n = Value at POR
bit 7
R/W-0
ADFM
This bit is automatically cleared by hardware when the A/D conversion has completed.
REF
DD
pin
REF
R/W-0
VCFG
R/W-0
CHS3
Preliminary
W = Writable bit
‘1’ = Bit is set
R/W-0
CHS2
PIC16F785/HV785
R/W-0
CHS1
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
CHS0
GO/DONE
x = Bit is unknown
R/W-0
DS41249D-page 83
R/W-0
ADON
bit 0

Related parts for PIC16F785-I/P