#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

#520 in Operating systems

Download history 212/week @ 2024-07-28 190/week @ 2024-08-04 101/week @ 2024-08-11 151/week @ 2024-08-18 138/week @ 2024-08-25 97/week @ 2024-09-01 145/week @ 2024-09-08 143/week @ 2024-09-15 198/week @ 2024-09-22 115/week @ 2024-09-29 114/week @ 2024-10-06 96/week @ 2024-10-13 61/week @ 2024-10-20 89/week @ 2024-10-27 83/week @ 2024-11-03 125/week @ 2024-11-10

362 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

~560KB
~11K SLoC