| Crates.io | rtc-hal |
| lib.rs | rtc-hal |
| version | 0.3.1 |
| created_at | 2025-08-17 16:33:48.193272+00 |
| updated_at | 2025-09-08 13:47:15.949036+00 |
| description | Platform-agnostic hardware abstraction for Real Time Clock peripherals. |
| homepage | |
| repository | https://github.com/implferris/rtc-hal |
| max_upload_size | |
| id | 1799563 |
| size | 49,558 |
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.
This crate is organized into several modules:
datetime - Core DateTime struct with validation and utility functionsrtc - Main Rtc trait defining the RTC interfacenvram - RtcNvram trait for RTCs with non-volatile memoryerror - Error handling framework and RtcError traitbcd - Binary Coded Decimal conversion utilitiesThis project is licensed under the MIT License.