Thanks
this is more of a conceptual homework question so thats why i was getting a second opinion.
I pretty much figured there was not a way to do it.
But i could just simply shut interrupts off do the set and then turn them back on. Is that what you mean?
Thats the only way i can think of to protect it