Tim Ahrens

HCS08QRUG Question about slaveAddress

Discussion created by Tim Ahrens on Dec 19, 2007
Latest reply on Dec 20, 2007 by bigmac
Hi folks,
 
Starting to get up to speed on C & iic, and have been playing with the HCS08QRUG
software.
 
My test project is to talk to a 'simple' RTC from Maxim, and am modifying the routines
given to make it happen.
 
For the life of me, I cannot see where in the example code the slave's address is
declared. (or even selfAddress).  I can see how it is manipulated & then placed in
the IICD register.
 
This is probably something very basic, but if anyone has a minute, maybe they
can point me in the right direction.

Thanks!
 
Tim

Outcomes