PIC16F818-E/SO Microchip Technology, PIC16F818-E/SO Datasheet - Page 109
![IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F818-E/SO
Manufacturer Part Number
PIC16F818-E/SO
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F818-ISO.pdf
(176 pages)
4.PIC16F818-ISO.pdf
(6 pages)
5.PIC16F818-ISO.pdf
(8 pages)
6.PIC16F818-ISO.pdf
(8 pages)
Specifications of PIC16F818-E/SO
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
18-SOIC (7.5mm Width)
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C, SPI, SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 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, DM163014
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F818-E/SO
Manufacturer:
Microchip Technology
Quantity:
135
COMF
Syntax:
Operands:
Operation:
Status Affected:
Description:
DECF
Syntax:
Operands:
Operation:
Status Affected:
Description:
DECFSZ
Syntax:
Operands:
Operation:
Status Affected:
Description:
2004 Microchip Technology Inc.
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0
d
(f) – 1
skip if result = 0
None
The contents of register ‘f’ are
decremented. If ‘d’ = 0, the result
is placed in the W register. If
‘d’ = 1, the result is placed back in
register ‘f’.
If the result is ‘1’, the next
instruction is executed. If the
result is ‘0’, then a NOP is
executed instead, making it a
2 T
Complement f
[ label ] COMF
0
d
(f)
Z
The contents of register ‘f’ are
complemented. If ‘d’ = 0, the
result is stored in W. If ‘d’ = 1, the
result is stored back in register ‘f’.
Decrement f
[ label ] DECF f,d
0
d
(f) – 1
Z
Decrement register ‘f’. If ‘d’ = 0,
the result is stored in the W
register. If ‘d’ = 1, the result is
stored back in register ‘f’.
CY
f
f
f
[0,1]
[0,1]
[0,1]
(destination)
instruction.
127
127
127
(destination);
(destination)
f,d
GOTO
Syntax:
Operands:
Operation:
Status Affected:
Description:
INCF
Syntax:
Operands:
Operation:
Status Affected:
Description:
INCFSZ
Syntax:
Operands:
Operation:
Status Affected:
Description:
PIC16F818/819
Increment f, Skip if 0
[ label ]
0
d
(f) + 1
None
The contents of register ‘f’ are
incremented. If ‘d’ = 0, the result is
placed in the W register. If ‘d’ = 1,
the result is placed back in
register ‘f’.
If the result is ‘1’, the next
instruction is executed. If the
result is ‘0’, a NOP is executed
instead, making it a 2 T
instruction.
Unconditional Branch
[ label ]
0
k
PCLATH<4:3>
None
GOTO is an unconditional branch.
The eleven-bit immediate value is
loaded into PC bits<10:0>. The
upper bits of PC are loaded
from PCLATH<4:3>. GOTO is a
two-cycle instruction.
Increment f
[ label ]
0
d
(f) + 1
Z
The contents of register ‘f’ are
incremented. If ‘d’ = 0, the result
is placed in the W register. If
‘d’ = 1, the result is placed back in
register ‘f’.
skip if result = 0
f
k
f
[0,1]
[0,1]
PC<10:0>
127
127
2047
(destination),
(destination)
GOTO k
INCFSZ f,d
INCF f,d
DS39598E-page 107
PC<12:11>
CY