13.07.2015 Views

User manual - ICP DAS USA

User manual - ICP DAS USA

User manual - ICP DAS USA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

• Read_EEPDescription:This function will read one byte data from the EEPROM. There is a 16K-byte EEPROMin the main control unit in the LinPAC-8000 system. This EEPROM is divided into 256blocks (0 to 255), and each block is 64 bytes in length from offset 0 to 63. This EEPROMwith its accessing APIs provides another mechanism for storing critical data insidenon-volatile memory.Syntax:[ C ]unsigned char Read_EEP(int block, int offset)Parameter:block :offset:[Input] the block number of EEPROM.[Input] the offset within the block.Return Value:Data read from the EEPROM.Example:int block, offset;unsigned char data;data= ReadEEP(block, offset);// Returned value: data= read an 8-bit value from the EEPROM (block & offset)Remark:LinPAC-8x4x SDK:66

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

Saved successfully!

Ooh no, something went wrong!