Hi!
I have found the following piece of code on an example from a Nordic employee. I'm curious as to its purpose.
NRF_TIMER0->EVENTS_COMPARE[0] = 0; (void)NRF_TIMER0->EVENTS_COMPARE[0];
Why is the register set, and then read just after?
Thanks
Hi!
I have found the following piece of code on an example from a Nordic employee. I'm curious as to its purpose.
NRF_TIMER0->EVENTS_COMPARE[0] = 0; (void)NRF_TIMER0->EVENTS_COMPARE[0];
Why is the register set, and then read just after?
Thanks
Why is the register set, and then read just after?
Have you checked the register description in the Product Specification for any clues?
Why is the register set, and then read just after?
Have you checked the register description in the Product Specification for any clues?