11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Library Functions__EEPROM_DATASynopsis#include __EEPROM_DATA(a,b,c,d,e,f,g,h)DescriptionThis macro is used to store initial values into the device’s EEPROM registers at the time of programming.The macro must be given blocks of 8 bytes to write each time it is called, and can be calledrepeatedly to store multiple blocks.__EEPROM_DATA() will begin writing to EEPROM address zero, and will auto-increment theaddress written to by 8, each time it is used.Example#include __EEPROM_DATA(0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07)__EEPROM_DATA(0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F)voidmain (void){}117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!