pub struct GenericCmosRtcDeps {
pub irq: u32,
pub time_source: Box<dyn InspectableLocalClock>,
pub century_reg_idx: u8,
pub initial_cmos: Option<[u8; 256]>,
}
Expand description
Generic MC146818A compatible RTC + CMOS device
Fields§
§irq: u32
IRQ line to signal RTC device events
time_source: Box<dyn InspectableLocalClock>
A source of “real time”
century_reg_idx: u8
Which CMOS RAM register contains the century register
initial_cmos: Option<[u8; 256]>
Initial state of CMOS RAM
Auto Trait Implementations§
impl Freeze for GenericCmosRtcDeps
impl !RefUnwindSafe for GenericCmosRtcDeps
impl Send for GenericCmosRtcDeps
impl !Sync for GenericCmosRtcDeps
impl Unpin for GenericCmosRtcDeps
impl !UnwindSafe for GenericCmosRtcDeps
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more