TIMER

Description

Timer types are used in the SYSTEM timer interface and wherever is needed to track time passed.

Design and development status

Feature-complete.

Changelog

Version

Date

Author

Comment

1.0.0

2021.9.07

sgermino

Initial release.

type TIMER_Ticks

64-bit data type to store timer ticks. A 32-bit data type is not enough since, at 1000 Hz, it will overrun in 49 days of continuous operation. On the other hand, a 64-bit value allows the timer to keep incrementing for several hundred million years or, at 100 Hz, until the Sun becomes a red giant engulfing Earth and this device with it.

type TIMER_TickHookFunc

Tick hook function pointer.