SW500009 Microchip Technology, SW500009 Datasheet - Page 64

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Supported Data Types and Variables
3.4.10 Eeprom Type Qualifier
The eeprom qualifier is used to to place static variables into EEPROM. Since accessing EEPROM
memory is a lot less efficient than accessing RAM, only very basic C expressions are supported.
This qualifier is provided as a convenient way to store and access the EEPROM available on some
processors. Examples of use:
A double in eeprom:
A RAM pointer to an eeprom int:
EEPROM access is described in further detail in section 3.2.5.2.
3.4.11 Pointer Types
The format and use of pointers depend upon the range of processor selected. This is described in the
following sections.
3.4.11.1 Baseline Pointers
All pointers in the Baseline (12-bit PICs) range are 8-bits.
3.4.11.2 Midrange Pointers
All pointers for Midrange processors (14-bit PICs) are the same as for Baseline processors with the
following exceptions:
50
An int stored in eeprom:
eeprom int number = 0x1234;
eeprom double pi = 3.14;
eeprom int * nptr;
RAM pointers point to RAM using the FSR index register.
Const pointers point to ROM via a RETLW table.
Function Pointers reference functions. A function is jumped to rather than called. A jump
table is used to return control to the calling function.
C Language Features

Related parts for SW500009