PIC16F886-I/SO Microchip Technology Inc., PIC16F886-I/SO Datasheet - Page 239
PIC16F886-I/SO
Manufacturer Part Number
PIC16F886-I/SO
Description
MCU, 8-Bit, 8KW Flash, 368 RAM, 25 I/O, SOIC-28
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F886-ISO.pdf
(328 pages)
Specifications of PIC16F886-I/SO
A/d Inputs
11-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
24
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SOIC
Programmable Memory
14K Bytes
Ram Size
368 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
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F886-I/SO
Manufacturer:
TI
Quantity:
12 000
Company:
Part Number:
PIC16F886-I/SO
Manufacturer:
Microchip Technology
Quantity:
54 574
Company:
Part Number:
PIC16F886-I/SO
Manufacturer:
MIC
Quantity:
86
Part Number:
PIC16F886-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- Current page: 239 of 328
- Download datasheet (7Mb)
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
© 2008 Microchip Technology Inc.
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
(INTCON<7>). This is a two-cycle
instruction.
1
2
After Interrupt
RETFIE
PC =
GIE =
RETFIE
TOS
1
PIC16F882/883/884/886/887
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
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 with literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
None
The W register is loaded with the
eight-bit literal ‘k’. The program
counter is loaded from the top of
the stack (the return address).
This is a two-cycle instruction.
1
2
Before Instruction
After Instruction
CALL TABLE;W contains
table
•
•
•
•
ADDWF PC ;W = offset
RETLW k1 ;Begin table
RETLW k2 ;
•
•
•
RETLW kn ;End of table
W
W
RETURN
RETLW k
;offset value
;W now has
;table value
=
=
DS41291E-page 237
0x07
value of k8
Related parts for PIC16F886-I/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MCU, 8-Bit, 8KW Flash, 368 RAM, 25 I/O, SSOP-28
Manufacturer:
Microchip Technology Inc.
Part Number:
Description:
MCU, 8-Bit, 14KB Flash, 368 RAM, 25 I/O, SPDIP-28
Manufacturer:
Microchip Technology Inc.
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
18 PIN, 7 KB FLASH, 368 RAM, 16 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
18 PIN, 7 KB FLASH, 368 RAM, 16 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet: