#rtc #low-power #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

#389 in Operating systems

Download history 64/week @ 2024-01-16 146/week @ 2024-01-23 131/week @ 2024-01-30 141/week @ 2024-02-06 118/week @ 2024-02-13 150/week @ 2024-02-20 101/week @ 2024-02-27 128/week @ 2024-03-05 228/week @ 2024-03-12 208/week @ 2024-03-19 206/week @ 2024-03-26 240/week @ 2024-04-02 181/week @ 2024-04-09 155/week @ 2024-04-16 164/week @ 2024-04-23 144/week @ 2024-04-30

671 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

~565KB
~11K SLoC