I have written code which changes port1 bits (bit 19 to 26) & some other statements, & an other interrupt which changes port1 bits (bit 27 & 28).
Problem is when compiler comes to first part & meantime interrupt comes, data on pins got changes other than as expected.
But on checking individually, both parts worked correctly.I also did sigle steeping for both & they worked fine.
Does that mean data goes lost/corrupted. If yes how to avoid this.
Problem is when compiler comes to first part & meantime interrupt comes, data on pins got changes other than as expected.
But on checking individually, both parts worked correctly.I also did sigle steeping for both & they worked fine.
Does that mean data goes lost/corrupted. If yes how to avoid this.