#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

#408 in Operating systems

Download history 241/week @ 2024-03-13 202/week @ 2024-03-20 220/week @ 2024-03-27 204/week @ 2024-04-03 193/week @ 2024-04-10 143/week @ 2024-04-17 186/week @ 2024-04-24 148/week @ 2024-05-01 154/week @ 2024-05-08 169/week @ 2024-05-15 144/week @ 2024-05-22 142/week @ 2024-05-29 203/week @ 2024-06-05 178/week @ 2024-06-12 179/week @ 2024-06-19 139/week @ 2024-06-26

721 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