#rtc #no-std #cmos

no-std cmos-rtc

'CMOS' is a tiny bit of very low power static memory that lives on the same chip as the Real-Time Clock (RTC)

3 releases

0.1.2 Mar 31, 2023
0.1.1 Aug 1, 2022
0.1.0 May 23, 2021

#234 in Operating systems

Download history 129/week @ 2023-10-20 125/week @ 2023-10-27 101/week @ 2023-11-03 111/week @ 2023-11-10 158/week @ 2023-11-17 160/week @ 2023-11-24 171/week @ 2023-12-01 95/week @ 2023-12-08 105/week @ 2023-12-15 55/week @ 2023-12-22 56/week @ 2023-12-29 132/week @ 2024-01-05 86/week @ 2024-01-12 128/week @ 2024-01-19 189/week @ 2024-01-26 146/week @ 2024-02-02

568 downloads per month

GPL-3.0 license

15KB
120 lines

CMOS

crates.io docs.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();

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

~555KB
~11K SLoC