SW006015 Microchip Technology, SW006015 Datasheet - Page 89

C COMPILER MPLAB C32

SW006015

Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheets

Specifications of SW006015

Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
5.9
© 2007 Microchip Technology Inc.
RAM FUNCTIONS
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames
/DISCARD/ : { *(.note.GNU-stack) }
Functions may be located in RAM to improve performance. The __ramfunc__ and
__longramfunc__ specifiers are used on a function declaration to specify that the
function will be executed out of RAM.
Functions specified as a RAM function will be copied to RAM by the startup code and
all calls to those functions will reference the RAM location. Functions located in RAM
will be in a different 512MB memory segment than functions located in program
memory, so the longcall attribute should be applied to any RAM function which will
be called from a function not in RAM. The __longramfunc__ specifier will apply the
longcall attribute as well as place the function in RAM
/* function ‘foo’ will be placed in RAM */
void __ramfunc__ foo (void)
{
}
/* function ‘bar’ will be placed in RAM and will be invoked
void __longramfunc__ bar (void)
{
}
1. Specifying __longramfunc__ is functionally equivalent to specifying both __ramfunc__ and
__longcall__.
using the full 32 bit address */
0 : { *(.debug_varnames) }
1
.
DS51686A-page 85

Related parts for SW006015