PIC16F785-E/SS Microchip Technology, PIC16F785-E/SS Datasheet - Page 67

20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,

PIC16F785-E/SS

Manufacturer Part Number
PIC16F785-E/SS
Description
20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPAC162060 - HEADER INTRFC MPLAB ICD2 20PIN
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
REGISTER 9-1:
© 2008 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1-0
Note 1: C1OUT will only drive RA2/AN2/T0CKI/INT/C1OUT if: (C1OE = 1) and (C1ON = 1) and (TRISA<2> = 0).
R/W-0
C1ON
C1ON: Comparator C1 Enable bit
1 = C1 Comparator is enabled
0 = C1 Comparator is disabled
C1OUT: Comparator C1 Output bit
If C1POL = 1 (inverted polarity):
If C1POL = 0 (non-inverted polarity):
C1OE: Comparator C1 Output Enable bit
1 = C1OUT is present on the RA2/AN2/T0CKI/INT/C1OUT pin
0 = C1OUT is internal only
C1POL: Comparator C1 Output Polarity Select bit
1 = C1OUT logic is inverted
0 = C1OUT logic is not inverted
C1SP: Comparator C1 Speed Select bit
1 = C1 operates in normal speed mode
0 = C1 operates in low-power, slow speed mode
C1R: Comparator C1 Reference Select bit (non-inverting input)
1 = C1VP connects to C1V
0 = C1VP connects to RA0/AN0/C1IN+/ICSPDAT
C1CH<1:0>: Comparator C1 Channel Select bits
00 = C1VN of C1 connects to RA1/AN1/C12IN0-/V
01 = C1VN of C1 connects to RC1/AN5/C12IN1-/PH1
10 = C1VN of C1 connects to RC2/AN6/C12IN2-/OP2
11 = C1VN of C1 connects to RC3/AN7/C12IN3-/OP1
C1OUT
C1OUT = 1, C1VP < C1VN
C1OUT = 0, C1VP > C1VN
C1OUT = 1, C1VP > C1VN
C1OUT = 0, C1VP < C1VN
R-0
CM1CON0: COMPARATOR C1 CONTROL REGISTER 0
W = Writable bit
‘1’ = Bit is set
R/W-0
C1OE
REF
output
C1POL
R/W-0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
C1SP
REF
/ICSPCLK
PIC16F785/HV785
R/W-0
C1R
(1)
x = Bit is unknown
C1CH1
R/W-0
DS41249E-page 65
C1CH0
R/W-0
bit 0

Related parts for PIC16F785-E/SS