SW500008 Microchip Technology, SW500008 Datasheet - Page 179

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
Library Functions
__IDLOC
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
See also
__EEPROM_DATA(), __CONFIG()
The macro will attempt to write 5 nibbles of data to the 5 locations reserved for ID purposes.
#include <htc.h>
__IDLOC(x)
#include <htc.h>
__IDLOC(15F01);
/* will store 1, 5, F, 0 and 1 in the ID registers*/
void
main (void)
{
}
165

Related parts for SW500008