Struct kernel::drivers::rtc::RTC [] [src]

pub struct RTC {
    // some fields omitted
}

RTC

Methods

impl RTC

fn new() -> Self

Create new empty RTC

fn time(&mut self) -> Duration

Get time