3 releases
0.1.2 | Mar 31, 2023 |
---|---|
0.1.1 | Aug 1, 2022 |
0.1.0 | May 23, 2021 |
#520 in Operating systems
362 downloads per month
15KB
120 lines
CMOS
"CMOS" is a tiny bit of very low power static memory that lives on the same chip as the Real-Time Clock (RTC)
Usage
use cmos_rtc::{ReadRTC, Time};
let mut cmos = ReadRTC::new(0x00, 0x00);
let time: Time = cmos.read();
lib.rs
:
"CMOS" is a tiny bit of very low power static memory that lives on the same chip as the Real-Time Clock (RTC)
Usage
use cmos_rtc::{ReadRTC, Time};
let mut cmos = ReadRTC::new(0x00, 0x00);
let time: Time = cmos.read();
Dependencies
~560KB
~11K SLoC