Zulander
Joined: 04 Dec 2006 Posts: 14
|
I2C and broadcasting |
Posted: Thu Mar 01, 2007 7:48 pm |
|
|
Hi,
I would like to know if I could be broadcasting a i2c_write during a loop? To be clear, I am running 3 ic’s as slaves and one master. The problem that I am facing is that sometime one or all three ics will go in to a loop and I need to send the master the status (on the slave IC) which is in a loop. I am guessing that I can’t broadcast because of the structure of the I2C.
If I can’t broadcast, can I use an interrupt, the question regarding this is: if an interrupt signal is detected and goes to that function, and when that function is exited will it resume the position of the code it was before the interrupt.
Thank you |
|