pub struct Rtc { /* private fields */ }
Expand description
Register block to control RTC
Implementations§
source§impl Rtc
impl Rtc
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
sourcepub const fn clkdiv_m1(self) -> Reg<ClkdivM1, RW>
pub const fn clkdiv_m1(self) -> Reg<ClkdivM1, RW>
Divider minus 1 for the 1 second counter. Safe to change the value when RTC is not enabled.
sourcepub const fn irq_setup_0(self) -> Reg<IrqSetup0, RW>
pub const fn irq_setup_0(self) -> Reg<IrqSetup0, RW>
Interrupt setup register 0
sourcepub const fn irq_setup_1(self) -> Reg<IrqSetup1, RW>
pub const fn irq_setup_1(self) -> Reg<IrqSetup1, RW>
Interrupt setup register 1
Trait Implementations§
impl Copy for Rtc
impl Eq for Rtc
impl Send for Rtc
impl StructuralEq for Rtc
impl StructuralPartialEq for Rtc
impl Sync for Rtc
Auto Trait Implementations§
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