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

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
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
© 2008 Microchip Technology Inc.
Return from Subroutine
[ label ]
None
TOS → PC
None
Return from subroutine. The stack
is POPed and the top of the stack
(TOS) is loaded into the program
counter. This is a two-cycle
instruction.
Return from Interrupt
[ label ]
None
TOS → PC,
1 → GIE
None
Return from Interrupt. Stack is
POPed and Top-of-Stack (TOS)
is loaded in the PC. Interrupts are
enabled by setting Global
Interrupt Enable bit, GIE of the
INTCON Register. This is a two-
cycle instruction.
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
None
Return with Literal in W
00
11
The W register is loaded with
the eight-bit literal ‘k’. The pro-
gram counter is loaded from the
top of the stack (the return
address). This is a two-cycle
instruction.
RETURN
RETFIE
RETLW k
0000
01xx
0000
kkkk
1001
kkkk
RLF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
RRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
PIC16F785/HV785
Rotate Left f through Carry
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
See description below
C
The contents of register ‘f’ are
rotated one bit to the left through
the Carry Flag. If ‘d’ is ‘0’, the
result is placed in the W register.
If ‘d’ is ‘1’, the result is stored
back in register ‘f’.
Rotate Right f through Carry
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
See description below
C
00
The contents of register ‘f’ are
rotated one bit to the right
through the Carry Flag. If ‘d’ is
‘0’, the result is placed in the W
register. If ‘d’ is ‘1’ the result is
placed back in register ‘f’.
00
Go into Standby mode
[label]
None
00h → WDT,
0 → WDT prescaler,
1 → TO,
0 → PD
TO, PD
00
The power-down Status bit, PD
is cleared. Time out Status bit,
TO is set. Watchdog Timer and
its prescaler are cleared.
The processor is put into Sleep
mode with the oscillator
stopped.
C
C
1100
RLF
1101
0000
RRF f,d
SLEEP
REGISTER F
DS41249E-page 133
Register f
f,d
dfff
dfff
0110
ffff
ffff
0011

Related parts for PIC16F785-I/SO