#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

#373 in Operating systems

Download history 71/week @ 2023-12-15 19/week @ 2023-12-22 33/week @ 2023-12-29 91/week @ 2024-01-05 57/week @ 2024-01-12 96/week @ 2024-01-19 149/week @ 2024-01-26 143/week @ 2024-02-02 137/week @ 2024-02-09 136/week @ 2024-02-16 104/week @ 2024-02-23 125/week @ 2024-03-01 165/week @ 2024-03-08 228/week @ 2024-03-15 208/week @ 2024-03-22 173/week @ 2024-03-29

806 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

~570KB
~11K SLoC