You are on page 1of 1

Data Definitions

ICD=TRUE

WRITE_EEPROM=ASYNC

HIGH_INTS=TRUE

Generates code
compatible with
Microchips ICD
debugging hardware.
Prevents
WRITE_EEPROM from
hanging while writing is
taking place. When used,
do not write to EEPROM
from both ISR and
outside ISR.
Use this option for
high/low priority interrupts
on the PIC18.

Both chip and options are optional, so multiple #device lines


may be used to fully define the device. Be warned that a
#device with a chip identifier, will clear all previous #device
and #fuse settings.
Purpose:

Defines the target processor. Every program must have


exactly one #device with a chip.

Examples:

#device
#device
#device
#device

Example Files:

ex_mxram.c, ex_icd.c, 16c74.h

Also See:

read_adc()

PIC16C74
PIC16C67 *=16
*=16 ICD=TRUE
PIC16F877 *=16 ADC=10

39

You might also like