Crates.io | cmos-rtc |
lib.rs | cmos-rtc |
version | 0.1.2 |
source | src |
created_at | 2021-05-23 11:54:24.566709 |
updated_at | 2023-03-31 08:33:21.129502 |
description | 'CMOS' is a tiny bit of very low power static memory that lives on the same chip as the Real-Time Clock (RTC) |
homepage | https://github.com/deadblackclover/CMOS |
repository | https://github.com/deadblackclover/CMOS |
max_upload_size | |
id | 401068 |
size | 42,003 |
"CMOS" is a tiny bit of very low power static memory that lives on the same chip as the Real-Time Clock (RTC)
use cmos_rtc::{ReadRTC, Time};
let mut cmos = ReadRTC::new(0x00, 0x00);
let time: Time = cmos.read();