rtc-hal 0.3.1

Platform-agnostic hardware abstraction for Real Time Clock peripherals.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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.