This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can NRF_RTC1->COUNTER value be ready safely from main loop on nRF51822/nRF51922

Hi,

Can the value of NRF_RTC1->COUNTER be read safely from the main loop without first stopping the RTC or temporarily disabling the RTC1 interrupt etc? (nRF51822 or nRF51922)

I would assume that the answer is yes, given the read will be atomic because the register is 24bits wide and it is a 32Bit system.

thanks -Chris

Parents Reply Children
No Data
Related