https://github.com/plopgrizzly/adi_clock
Rust library for controlling the CPU's Real-Time-Clock (RTC) and High Precision Event Timer (HPET). Time operations, get the time (TODO), sleep with precision, and animate smoothly.
https://github.com/plopgrizzly/adi_clock
adi-clock clock hpet precision precision-event-timer rtc rust-library sleep
Last synced: about 2 months ago
JSON representation
Rust library for controlling the CPU's Real-Time-Clock (RTC) and High Precision Event Timer (HPET). Time operations, get the time (TODO), sleep with precision, and animate smoothly.
- Host: GitHub
- URL: https://github.com/plopgrizzly/adi_clock
- Owner: plopgrizzly
- License: mit
- Created: 2017-04-22T19:30:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T15:34:29.000Z (almost 8 years ago)
- Last Synced: 2025-12-13T22:14:07.660Z (5 months ago)
- Topics: adi-clock, clock, hpet, precision, precision-event-timer, rtc, rust-library, sleep
- Language: Rust
- Homepage: https://plopgrizzly.com/adi_clock/
- Size: 531 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Aldaron's Device Interface / Clock (adi_clock 0.3.0)
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.
[Cargo](https://crates.io/crates/adi_clock) /
[Documentation](https://docs.rs/adi_clock)
## Features
**adi_clock**'s current features:
* Get the state of the RTC (Real Time Clock)
* Measure time passed with the HPET (High Precision Event Timer)
* Create smooth animations with `Pulse` (See documentation)
**adi_clock**'s planned features:
* Get the time of day / date
## Support
**adi_clock**'s current support:
* Unix
* Windows
**adi_clock**'s planned support:
* Arduino and Raspberry Pi (no os)
# Contributing
If you'd like to help implement functions for unsupported platforms, fix bugs,
improve the API or improve the Documentation, then contact me at
jeron.lau@plopgrizzly.com. I'll appreciate any help.