PIC18F45K20-E/P Microchip Technology, PIC18F45K20-E/P Datasheet - Page 26

32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 PDIP .600in TUBE

PIC18F45K20-E/P

Manufacturer Part Number
PIC18F45K20-E/P
Description
32KB, Flash, 1536bytes-RAM, 36I/O, 8-bit Family,nanowatt XLP 40 PDIP .600in TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F45K20-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM240313 - BOARD DEMO 8BIT XLPAC164112 - VOLTAGE LIMITER MPLAB ICD2 VPPDM164124 - KIT STARTER FOR PIC18F4XK20
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F45K20-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PICkit™ 3 Debug Express
FIGURE 3-12:
DS41370C-page 22
FIGURE 3-13:
/**
#pragma
#pragma
#pragma
#pragma
#pragma
#pragma
#pragma
#pragma
#pragma
#pragma
#pragma
C
O N F I G U R AT
config
config
config
config
config
config
config
config
config
config
config
MPLAB HELP TOPICS
LESSON 2 “BLINK LED” CONFIGURATION BIT DEFINITIONS
FOSC
PWRT
WDTEN
MCLRE
STVREN
CP0
CPB
WRT0
WRTB
EBTR0
EBTRB
The Configuration bits are defined using the #pragma config directive for each
Configuration Word. The MPLAB C attributes used to reference each bit or bit field
setting (i.e., “OSC = INTIO67”) may differ from one PIC18FXXXX microcontroller to
another, depending on the features supported by a particular microcontroller. All the
attributes available for a particular microcontroller may be found in the MPLAB IDE
help. Let’s find the attributes for the PIC18F45K20:
1. Select MPLAB IDE menu Help > Topics…
In the “MPLAB Help Topics” dialog, find the “Language Tools” category and select the
2. “PIC18 Config Settings” topic as shown in Figure . Click OK.
3. When the Help window opens, select the Contents tab, and expand the
4. Select the PIC18F45K20 microcontroller to display all the Configuration bit set-
“Configuration Settings” section.
ting attributes that can be used with the #pragma config directive, as shown
in Figure .
=
=
=
=
=
=
=
=
INTIO67,
OFF,
=
=
=
OFF,
OFF,
OFF,
OFF,
OFF,
OFF
I
OFF,
OFF, LPT1OSC
ON,
O
CP1
CPD
EBTR1
BOREN
WRT1
WRTC
LVP
N
WDTPS
FCMEN
= OFF,
= OFF
B I
= OFF,
= OFF,
= OFF,
=
=
=
=
=
SBORDIS,
FIGURE 3-14:
OFF,
T
32768
OFF,
CP2
OFF,
S
XINST
WRT2
WRTD
PBADEN
=
******************************/
EBTR2
IESO
BORV
OFF,
=
=
=
OFF,
OFF
=
=
OFF
=
=
CP3
OFF
ON,
OFF,
30
WRT3
=
PIC18F45K20 CONFIGURATION
CCP2MX
EBTR3
OFF
=
OFF
=
=
PORTC
OFF
© 2009 Microchip Technology Inc.
//
//
//
//
//
//
//
//
//
//
//
CONFIG1H
CONFIG2L
CONFIG2H
CONFIG3H
CONFIG4L
CONFIG5L
CONFIG5H
CONFIG6L
CONFIG6H
CONFIG7L
CONFIG7H

Related parts for PIC18F45K20-E/P