#int_SSP
VOID SSP_isr()
{
signed long long int prom;
state = i2c_isr_state();
if (state>=128)
{
prom=170;
i2c_write(prom);
}
}
Why at a parcel(sending) master of this code slave two times come into interruption. First time after exhibiting the address and second time after exhibiting stop. Thus if I put if (state > =128) that the master hangs. And if if (state == 128) that all is normal. Unless on stop there should be an interruption??. And still as to me to organize the program slave if the master transfers the following
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