rtc-hal

Crates.iortc-hal
lib.rsrtc-hal
version0.3.1
created_at2025-08-17 16:33:48.193272+00
updated_at2025-09-08 13:47:15.949036+00
descriptionPlatform-agnostic hardware abstraction for Real Time Clock peripherals.
homepage
repositoryhttps://github.com/implferris/rtc-hal
max_upload_size
id1799563
size49,558
impl Ferris (ImplFerris)

documentation

README

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 - Core DateTime struct with validation and utility functions
  • rtc - Main Rtc trait defining the RTC interface
  • nvram - RtcNvram trait for RTCs with non-volatile memory
  • error - Error handling framework and RtcError trait
  • bcd - Binary Coded Decimal conversion utilities

License

This project is licensed under the MIT License.

Commit count: 10

cargo fmt