Expand description
Aldaron’s Device Interface / Clock is a library developed by Plop Grizzly for interfacing with the CPU’s Real-Time-Clock (RTC) and High Precision Event Timer (HPET). With this, one can time operations, get the time (TODO), sleep with precision, and animate smoothly.
Structs§
- Clock
- Clock represents the state of a Real-Time-Clock (RTC). You can use it to make animations, time operations, or determine the date and time (TODO).
- Timer
- Timer represents a High Precision Event Timer (HPET) or equivalent device. It is used for precise sleeping.
Traits§
- Pulse
- Call these functions on the return value of Clock::since(). Use
rate_spr
to specify how many seconds it takes to cycle through the animation.