17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Requires:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

Nothing<br />

fin = read_calibration(16);<br />

ex_14kad.c with 14kcal.c<br />

None<br />

read_configuration_memory( )<br />

Syntax: read_configuration_memory(ramPtr, n)<br />

Parameters:<br />

Returns:<br />

Function:<br />

Availability:<br />

Requires:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

ramPtr is the destination pointer for the read results<br />

count is an 8 bit integer<br />

undefined<br />

Reads n bytes of configuration memory and saves the values to ramPtr.<br />

All<br />

Nothing<br />

int data[6];<br />

read_configuration_memory(data,6);<br />

None<br />

write_configuration_memory(), read_program_memory(), Configuration<br />

Memory Overview,<br />

read_eeprom( )<br />

Syntax: value = read_eeprom (address )<br />

Parameters:<br />

Returns:<br />

Function:<br />

address is an 8 bit or 16 bit int depending on the part<br />

An 8 bit int<br />

Reads a byte from the specified data EEPROM address. The address begins<br />

246

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

Saved successfully!

Ooh no, something went wrong!