SW500009 Microchip Technology, SW500009 Datasheet - Page 175

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
Library Functions
__IDLOC7
Synopsis
Description
This macro places data into the device’s special locations outside of addressable memory reserved
for ID. This would be useful for storage of serial numbers etc.
Example
Note
Not all devices permit 7 bit programming of the ID locations. Refer to the device datasheet to see
whether this macro can be used on your particular device.
See also
__IDLOC(), __CONFIG()
The macro will attempt to write 7 bits of data to each of the 4 locations reserved for ID purposes.
#include <htc.h>
__IDLOC7(a,b,c,d)
#include <htc.h>
__IDLOC(0x7F,70,1,0x5A);
/* will store 7Fh, 70, 1 and 5Ah in the ID registers */
void
main (void)
{
}
161

Related parts for SW500009