Registry / embedded / rtcc
library0.4.0rscratesunverified

Provides traits for real-time clock/calendar (RTC/RTCC) devices, enabling timekeeping abstractions.

# Cargo.toml [dependencies] rtcc = "0.4.0"
INSTALL
IMPORT
SIG · RTCC
R
rtcc
embeddedrustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rtcc
use rtcc::Rtcc;

Demonstrates basic usage of the Rtcc trait with a mock implementation.

use rtcc::Rtcc; fn main() { // Example: using a mock RTC let mut rtc = rtcc::MockRtcc::new(); rtc.set_datetime(&rtcc::DateTime::default()).unwrap(); println!("RTC initialized"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Resources
rtcc — cargo add rtcc · libregistry