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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)