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

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
PIC16F785/HV785
4.4.1.8
The RC5 is configurable to function as one of the
following:
• General purpose I/O
• Digital input for the capture/compare
• Digital output for the CCP
TABLE 4-3:
DS41249D-page 48
07h, 107h PORTC
15h
87h, 187h TRISC
91h
93h
111h
11Ch
11Dh
Legend:
Address
CCP1CON
ANSEL0
ANSEL1
PWMCON0
OPA1CON
OPA2CON
x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTC.
RC5/CCP1
Name
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
TRISC7
PRSEN
OPAON
OPAON
ANS7
Bit 7
RC7
TRISC6
PASEN
ANS6
Bit 6
RC6
BLANK2
TRISC5
DC1B1
ANS5
Bit 5
RC5
BLANK1
TRISC4
DC1B0
Preliminary
ANS4
Bit 4
RC4
CCP1M3 CCP1M2 CCP1M1 CCP1M0
TRISC3
SYNC1
ANS11
ANS3
Bit 3
RC3
FIGURE 4-14:
PORTC
Data Bus
PORTC
TRISC
TRISC
CCP1CON<1>
CCP1CON<3>
CCP1CON<2>
CCP out
WR
WR
RD
RD
TRISC2
SYNC0
ANS10
ANS2
Bit 2
RC2
to CCP Capture Input
D
D
CK
CK
TRISC1
PH2EN
ANS1
ANS9
Bit 1
RC1
Q
Q
Q
Q
TRISC0
PH1EN
BLOCK DIAGRAM OF RC5
ANS0
ANS8
Bit 0
RC0
Q
© 2006 Microchip Technology Inc.
EN
D
1
0
xxxx xxxx
0000 0000
1111 1111
1111 1111
---- 1111
0000 0000
0--- ----
0--- ----
POR, BOR
Value on:
other Resets
V
Value on all
uuuu uuuu
0000 0000
1111 1111
1111 1111
---- 1111
0000 0000
0--- ----
0--- ----
V
DD
SS
I/O Pin

Related parts for PIC16F785-I/P