pub struct Rtc { /* private fields */ }Implementations§
Source§impl Rtc
impl Rtc
pub fn is_pending(&self) -> bool
pub fn set_scale(&mut self, scale: u8)
pub fn enable(&mut self)
pub fn disable(&mut self)
pub fn is_enabled(&self) -> bool
pub fn rtc_lo(&self) -> u32
pub fn rtc_hi(&self) -> u32
pub fn rtc(&self) -> u64
pub fn set_rtc_lo(&mut self, value: u32)
pub fn set_rtc_hi(&mut self, value: u16)
pub fn set_rtc(&mut self, value: u64)
pub fn rtccmp(&self) -> u32
pub fn set_rtccmp(&mut self, value: u32)
Auto Trait Implementations§
impl Freeze for Rtc
impl RefUnwindSafe for Rtc
impl Send for Rtc
impl Sync for Rtc
impl Unpin for Rtc
impl UnwindSafe for Rtc
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