17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

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

Overview<br />

erase_program_eeprom( )<br />

Syntax:<br />

Parameters:<br />

Returns:<br />

Function:<br />

erase_program_eeprom (address);<br />

address is 16 bits on <strong>PCM</strong> parts and 32 bits on <strong>PCH</strong> parts . The least<br />

significant bits may be ignored.<br />

undefined<br />

Erases FLASH_ERASE_SIZE bytes to 0xFFFF in program memory.<br />

FLASH_ERASE_SIZE varies depending on the part. For example, if it is<br />

64 bytes then the least significant 6 bits of address is ignored.<br />

See write_program_memory() for more information on program memory<br />

access.<br />

Availability:<br />

Requires:<br />

Examples:<br />

Example Files:<br />

Also See:<br />

Only devices that allow writes to program memory.<br />

Nothing<br />

for(i=0x1000;i

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

Saved successfully!

Ooh no, something went wrong!