Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

How to ensure that during read vars they don't get updated in interrupt

$
0
0

I have a interrupt which reads RTC registers & one another important function every 1 sec after.

Now in main code I read these registers, how to ensure that while reading they don't get updated in interrupt. I don't want to disable interrupt as one important task I carry out in it


Viewing all articles
Browse latest Browse all 262198

Trending Articles