Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/28/06 20:42
Read: times


 
#125312 - Sorry, not ment as code memory
Responding to: ???'s previous message
Dear Erik, Hi,
Sorry, i forgot to mention that i use it as data storage, and the main program uses the data stored in the eeprom.

As for the code architect, i dont quit understand the i2c_callback functions, as also that some functions in i2c_callback.c needed to be coded for example, i dont
understand what this mean
"unsigned char i2c_master_islastrxbyte
(
unsigned int bytenum // number of the byte in this transfer
// (0 = first byte)
)
{
// insert code here

return 0;
} // i2c_master_islastrxbyte"

what should i code in this function? i need a very simple i2c routine which just reads data from the eeprom and writes data to the eeprom. I dont want to use Interrupts if possible. The codearchitect generates alot's of codes which does not suit for my needs.

So if possible i need as small as possible routine as i am fullpacked with my main program which is around 15KB.

The Embedded Master, mr Erik, please help,

best regards

Khaled Sarsam

List of 11 messages in thread
TopicAuthorDate
P89LPC936 and external EEPROM through I2C            01/01/70 00:00      
   If you mean CODE memory, you can't            01/01/70 00:00      
      Sorry, not ment as code memory            01/01/70 00:00      
         WRONG! get rid of the interruptifobia            01/01/70 00:00      
            Interrupfobia            01/01/70 00:00      
               then why            01/01/70 00:00      
                  why no interrupts            01/01/70 00:00      
                     I2c            01/01/70 00:00      
                     Code Architect            01/01/70 00:00      
                        code architect            01/01/70 00:00      
                           if domebody carries you through this one ...            01/01/70 00:00      

Back to Subject List