This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Accessing EEPROM

Is there a C technique for writing/reading from a byte in on-chip EEPROM? I can do this in asm with something like this:

clr ea
mov deedat,@r0
mov deeadr,@r1
setb ea

I would prefer to do it in C, and can't find anything that explains it. Thanks.