PIC18F4515-E/PT Microchip Technology, PIC18F4515-E/PT Datasheet - Page 7

IC MCU FLASH 24KX16 44TQFP

PIC18F4515-E/PT

Manufacturer Part Number
PIC18F4515-E/PT
Description
IC MCU FLASH 24KX16 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4515-E/PT

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4515-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
EXAMPLE 3:
© 2007 Microchip Technology Inc.
2. C Language Programming: The exact work
#pragma interruptlow MyLowISR
void MyLowISR(void)
{
}
// Although MyHighISR is a high priority interrupt, use interruptlow pragma so that
// the compiler will not use retfie FAST.
#pragma interruptlow MyHighISR
void MyHighISR(void)
{
}
#pragma code highVector=0x08
void HighVector (void)
{
}
#pragma code /* return to default code section */
#pragma code lowVector=0x18
void LowVector (void)
{
}
#pragma code /* return to default code section */
around depends on the compiler in use. Please
refer to your C compiler documentation for
details.
If using the Microchip MPLAB
piler, define both high and low priority interrupt
handler functions as “low priority” by using the
pragma interruptlow directive. This direc-
tive instructs the compiler to not use the
RETFIE FAST instruction. If the proper high
priority interrupt bit is set in the IPRx register,
// Handle low priority interrupts.
// Handle high priority interrupts.
_asm goto MyHighISR _endasm
_asm goto MyLowISR _endasm
®
C18 C Com-
PIC18F2515/2610/4515/4610
Date Codes that pertain to this issue:
All engineering and production devices.
then the interrupt is treated as high priority in
spite
directive.
The code segment shown in Example 3
demonstrates the work around using the C18
compiler:
of
the
pragma interruptlow
DS80199E-page 7

Related parts for PIC18F4515-E/PT