PIC18F242-E/SP Microchip Technology, PIC18F242-E/SP Datasheet - Page 215

IC MCU CMOS 40MHZ 8K FLASH 28DIP

PIC18F242-E/SP

Manufacturer Part Number
PIC18F242-E/SP
Description
IC MCU CMOS 40MHZ 8K FLASH 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F242-E/SP

Core Size
8-Bit
Program Memory Size
16KB (8K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
23
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC18
No. Of I/o's
23
Eeprom Memory Size
256Byte
Ram Memory Size
768Byte
Cpu Speed
40MHz
No. Of Timers
4
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F242-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
FIGURE 20-1:
© 2006 Microchip Technology Inc.
Byte-oriented file register operations
Byte to Byte move operations (2-word)
Bit-oriented file register operations
Literal operations
Control operations
CALL, GOTO and Branch operations
15
15
15
15
15
15
15
15
15
15
15
OPCODE
OPCODE
OPCODE b (BIT #) a
OPCODE
GENERAL FORMAT FOR INSTRUCTIONS
k = 8-bit immediate value
n = 20-bit immediate value
1111
a = 0 to force Access Bank
f = 8-bit file register address
d = 0 for result destination to be WREG register
d = 1 for result destination to be file register (f)
a = 0 to force Access Bank
a = 1 for BSR to select bank
f = 12-bit file register address
b = 3-bit position of bit in file register (f)
a = 1 for BSR to select bank
f = 8-bit file register address
OPCODE
1111
OPCODE
OPCODE
12 11
12 11
12 11
OPCODE
S = Fast bit
10
12 11
12 11
11 10
d
9
9 8 7
8
8 7
f (Destination FILE #)
n<10:0> (literal)
a
f (Source FILE #)
8 7
n<19:8> (literal)
8 7
7
8 7
S
n<7:0> (literal)
n<19:8> (literal)
f (FILE #)
n<7:0> (literal)
k (literal)
n<7:0> (literal)
f (FILE #)
0
0
0
0
0
0
0
0
0
0
0
MOVFF MYREG1, MYREG2
MOVLW 0x7F
BSF MYREG, bit, B
BRA MYFUNC
BC MYFUNC
GOTO Label
CALL MYFUNC
ADDWF MYREG, W, B
Example Instruction
PIC18FXX2
DS39564C-page 213

Related parts for PIC18F242-E/SP