PIC16F946T-I/PT Microchip Technology, PIC16F946T-I/PT Datasheet - Page 222

Microcontroller

PIC16F946T-I/PT

Manufacturer Part Number
PIC16F946T-I/PT
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F946T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
336 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA160011 - DAUGHTER BOARD PICDEM LCD 16F91X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F946T-I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16F946T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F946
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
DS41265A-page 220
Return from Interrupt
[ label ]
None
TOS
1
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
00
GIE
PC,
PC =
GIE =
RETFIE
0000
TOS
1
0000
1001
Preliminary
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
Return with Literal in W
[ label ]
0
k
TOS
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
CALL TABLE ;W contains table
value
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Before Instruction
After Instruction
TOS
Return from Subroutine
[ label ]
None
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.
11
k
© 2005 Microchip Technology Inc.
(W);
255
PC
PC
W
W
RETLW k
RETURN
01xx
; End of table
=
=
;offset value
;W now has table
;Begin table
;
;W = offset
0x07
value of k8
kkkk
kkkk

Related parts for PIC16F946T-I/PT