bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EEPROM useage question

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
lowfinn



Joined: 10 Feb 2008
Posts: 4

PostPosted: Mon Feb 11, 2008 1:59 am    Post subject: EEPROM useage question Reply with quote

are you required to use 'rb' and 'wb' when accessing EEPROM? I have seen some examples that do this.

ex. (master is a pointer to a struct that is in EEPROM)

can I use


Code:
if (master->count == 10)


or do i have to use

Code:
if (rb(&master->count) == 10)


Thanks for your help
Back to top
View user's profile Send private message
pz
Guest





PostPosted: Mon Feb 18, 2008 8:02 am    Post subject: Re: EEPROM useage question Reply with quote

lowfinn wrote:
are you required to use 'rb' and 'wb' when accessing EEPROM? I have seen some examples that do this.

ex. (master is a pointer to a struct that is in EEPROM)

can I use


Code:
if (master->count == 10)


or do i have to use

Code:
if (rb(&master->count) == 10)


Thanks for your help


You have to use rb(), please look at devel docs.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group