PIC18LF6310-I/PT Microchip Technology, PIC18LF6310-I/PT Datasheet - Page 7

IC PIC MCU FLASH 4KX16 64TQFP

PIC18LF6310-I/PT

Manufacturer Part Number
PIC18LF6310-I/PT
Description
IC PIC MCU FLASH 4KX16 64TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF6310-I/PT

Core Size
8-Bit
Program Memory Size
8KB (4K x 16)
Oscillator Type
Internal
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
54
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Controller Family/series
PIC18
No. Of I/o's
54
Ram Memory Size
768Byte
Cpu Speed
40MHz
No. Of Timers
4
No. Of Pwm
RoHS Compliant
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF6310-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
EXAMPLE 2:
EXAMPLE 3:
© 2007 Microchip Technology Inc.
#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 */
#pragma code high_vector_section=0x8
void high_vector (void)
{
}
void high_vector_branch (void)
{
}
#pragma interrupt high_isr
void high_isr (void)
{
}
2. C Language Programming: The exact work
_asm
_endasm
_asm
_endasm
...
// Handle low priority interrupts.
// Handle high priority interrupts.
_asm goto MyHighISR _endasm
_asm goto MyLowISR _endasm
CALL high_vector_branch, 1
POP
GOTO high_isr
around depends on the compiler in use. Please
refer to your C compiler documentation for
details.
If using the Microchip MPLAB
define both high and low priority interrupt han-
dler functions as “low priority” by using the
pragma interruptlow
directive instructs the compiler to not use the
RETFIE FAST instruction. If the proper high
priority interrupt bit is set in the IPRx register,
then the interrupt is treated as high priority in
spite of the pragma interruptlow directive.
®
directive.
C18 C Compiler,
PIC18F6310/6410/8310/8410
This
Date Codes that pertain to this issue:
All engineering and production devices.
The code segment shown in Example 2
demonstrates the work around using the C18
compiler. An optimized C18 version is also pro-
vided in Example 3. This example illustrates
how it reduces the instruction cycle count from
10 cycles to 3.
DS80206F-page 7

Related parts for PIC18LF6310-I/PT