9 releases
Uses new Rust 2024
| 0.3.1 | Sep 8, 2025 |
|---|---|
| 0.3.0 | Sep 5, 2025 |
| 0.2.4 | Sep 2, 2025 |
| 0.1.2 | Aug 21, 2025 |
#1026 in Embedded development
69 downloads per month
Used in 2 crates
46KB
889 lines
RTC HAL - Platform-agnostic Real-Time Clock traits
This crate provides traits for implementing Real-Time Clock (RTC) drivers in a platform-agnostic way, following the embedded-hal design patterns.
rtc-hal
A platform-agnostic Hardware Abstraction Layer (HAL) for Real-Time Clock (RTC) devices in embedded Rust systems. This crate provides traits and utilities for implementing RTC drivers following the embedded-hal design patterns.
Architecture
This crate is organized into several modules:
datetime- CoreDateTimestruct with validation and utility functionsrtc- MainRtctrait defining the RTC interfacenvram-RtcNvramtrait for RTCs with non-volatile memoryerror- Error handling framework andRtcErrortraitbcd- Binary Coded Decimal conversion utilities
License
This project is licensed under the MIT License.
Dependencies
~145KB