We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The KEIL header file for the XC167 microcontroller has the below entry:
#define IIC_ID (*((unsigned int volatile sdata *)0xE60C)) // IIC Module Identification Register
However, I can find no reference to any such register in any of the XC167 doc's I have. Can anyone tell me what this register is and how to use it?
Thanks, Dave.
Hmmm... something doesn't sound right...
It seems to me that what generates the SCL clocks is the act of reading either IIC_RTBL or IIC_RTBH. Then, after the SCL clocks, you must read the register again to get the results of shifting in that data.
But... reading that register the 2nd time causes the SCL clocks to come out again. That's what I'd like to get rid of... those extra SCL clocks. But, I can't find any other way to start the cycle of SCL clocks besides reading the IIC_RTBL or IIC_RTBH registers. Kind of like a catch-22 situation.