From: Gernot F. <ger...@ne...> - 2003-08-22 19:58:37
|
On Fri, 22 Aug 2003, you wrote: > > Hi evryone ! > > 1.) Has anybody already written functions for handling AT89S8252 EEPROM ?? void ee_put(xdata char *loc,char c) { WMCON|=0x18; *loc=c; while((WMCON&2)==0); WMCON&=~0x18; } char ee_get(xdata char *loc) { char c; WMCON|=0x08; c=*loc; WMCON&=~0x18; return c; } -- MFG Gernot |