SW006012 Microchip Technology, SW006012 Datasheet - Page 158

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
DS51284F-page 152
®
C30 User’s Guide
__
Assembler Opera-
tor / Machine
Instruction:
Error Messages
__
Description:
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
Error Messages
__
Description:
Prototype:
Argument:
Return Value:
Assembler Opera-
tor / Machine
Instruction:
Error Messages
builtin_tbloffset (Continued)
builtin_tblrdh
builtin_tblrdl
tbloffset
The following error message is produced when this function is used
incorrectly:
“Argument to __builtin_tbloffset() is not the address of an
object in code, psv, or eedata section”.
The argument must be an explicit object address.
For example, if obj is object in an executable or read-only section, the
following syntax is valid:
unsigned page = __builtin_tbloffset(&obj);
Issues the tblrdh.w instruction to read a word from Flash or EEDATA
memory. You must set up the TBLPAG to point to the appropriate page.
To do this, you may make use of __builtin_tbloffset() and
__builtin_tblpage().
Please refer to the data sheet or dsPIC Family Reference Manual for
complete details regarding reading and writing program Flash.
unsigned int __builtin_tblrdh(unsigned int offset);
offset
None.
tblrdh
None.
Issues the tblrdl.w instruction to read a word from Flash or EEDATA
memory. You must set up the TBLPAG to point to the appropriate page.
To do this, you may make use of __builtin_tbloffset()
and__builtin_tblpage().
Please refer to the data sheet or “dsPIC30F Family Reference Manual”
(DS70046) for complete details regarding reading and writing program
Flash.
unsigned int __builtin_tblrdl(unsigned int offset);
offset
None.
tblrdl
None.
desired memory offset
desired memory offset
© 2007 Microchip Technology Inc.

Related parts for SW006012