View Single Post
  #25   Spotlight this post!  
Unread 20-01-2004, 18:21
Random Dude Random Dude is offline
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
 
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Random Dude will become famous soon enoughRandom Dude will become famous soon enough
Re: read/write EEPROM on 18F8520

Quote:
Originally Posted by Astronouth7303
A few questions:
a. What's EEADRH, EEADR, EEDATA, EECON2, and the rest of it?
b. what's the >> in "EEADRH = ((address>>8)&0x03);"?

And yes, I should probably know already.

a: those are registers in the micro. See the doc linked someplace earlier in this thread for a little more detail.

b: (address>>8) bit shifts 'address' 8 bits to the right ( the << operator does shifts to the left )