Crate cmos_rtc

source ·
Expand description

“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();

Structs

  • Struct for storage ports, current year and century register
  • Struct for storage time