Currently, the clock interface only exposes the current time in seconds and milliseconds. However, this can lead to race conditions if one is not careful. Therefore, it would be good to update the clock interface to allow "atomic" reads of both timers.
Specifically, I propose a status register that updates both timers when written to.
Currently, the clock interface only exposes the current time in seconds and milliseconds. However, this can lead to race conditions if one is not careful. Therefore, it would be good to update the clock interface to allow "atomic" reads of both timers.
Specifically, I propose a status register that updates both timers when written to.