PIC16F785-I/SO Microchip Technology, PIC16F785-I/SO Datasheet - Page 36

IC PIC MCU FLASH 2KX14 20SOIC

PIC16F785-I/SO

Manufacturer Part Number
PIC16F785-I/SO
Description
IC PIC MCU FLASH 2KX14 20SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-I/SO

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
20-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
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 ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
RS- 232/USB
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
17
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DV164120, DM163029
Minimum Operating Temperature
- 40 C
On-chip Adc
14-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SO1-1 - SOCKET TRANS ICE 20DIP TO 20SOICXLT18SO-1 - SOCKET TRANSITION 18SOIC 300MILAC162060 - HEADER INTRFC MPLAB ICD2 20PINAC164039 - MODULE SKT PROMATE II 20DIP/SOIC
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F785-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F785
REGISTER 4-2:
4.2
Every PORTA pin on the PIC16F785 has an interrupt-
on-change option and a weak pull-up option. The next
three sections describe these functions.
REGISTER 4-3:
DS41249A-page 34
Additional Pin Functions
bit 7-6:
bit 5-0:
bit 7-6
bit 5-0
TRISA — PORTA TRISTATE REGISTER (ADDRESS: 85h, 185h)
WPUA — WEAK PULL-UP REGISTER (ADDRESS: 95h)
bit 7
bit 7
Unimplemented: Read as ‘0’
TRISA<5:0>: PORTA Tri-State Control bit
1 = PORTA pin configured as an input (tri-stated)
0 = PORTA pin configured as an output
Note 1:
Unimplemented: Read as ‘0’
WPUA<5:0>: Weak Pull-up Register bits
1 = Pull-up enabled
0 = Pull-up disabled
Note 1:
Legend:
R = Readable bit
- n = Value at POR
Legend:
R = Readable bit
- n = Value at POR
U-0
U-0
2:
2:
3:
4:
TRISA<3> always reads ‘1’.
TRISA<5:4> always reads ‘1’ in XT, HS and LP OSC modes.
Global RAPU must be enabled for individual pull-ups to be enabled.
The weak pull-up device is automatically disabled if the pin is in Output mode
(TRISA = 0).
The RA3 pull-up is automatically enabled when configured as MCLR in the
Configuration Word.
WPUA<5:4> always reads ‘1’ in XT, HS and LP OSC modes.
U-0
U-0
WPUA5
TRISA5
R/W-1
R/W-1
Preliminary
W = Writable bit
1 = Bit is set
W = Writable bit
‘1’ = Bit is set
(4)
WPUA4
TRISA4
R/W-1
R/W-1
4.2.1
Each of the PORTA pins has an individually config-
urable internal weak pull-up. Control bits WPUAx
enable or disable each pull-up. Refer to Register 4-3.
Each weak pull-up is automatically turned off when the
port pin is configured as an output. The pull-ups are dis-
abled on a Power-on Reset by the RAPU bit
(OPTION_REG<7>). The weak pull-up on RA3 is auto-
matically enabled when RA3 is configured as MCLR.
(1)(2)
(4)
WPUA3
TRISA3
R/W-1
U = Unimplemented bit, read as ‘0’
0 = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R-1
WEAK PULL-UPS
(3)
TRISA2
WPUA2
R/W-1
R/W-1
 2004 Microchip Technology Inc.
(1,2)
x = Bit is unknown
x = Bit is unknown
TRISA1
WPUA1
R/W-1
R/W-1
WPUA0
TRISA0
R/W-1
R/W-1
bit 0
bit 0

Related parts for PIC16F785-I/SO