Struct rp2040_pac::rtc::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn clkdiv_m1(&self) -> &CLKDIV_M1
pub const fn clkdiv_m1(&self) -> &CLKDIV_M1
0x00 - 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) -> &IRQ_SETUP_0
pub const fn irq_setup_0(&self) -> &IRQ_SETUP_0
0x10 - Interrupt setup register 0
sourcepub const fn irq_setup_1(&self) -> &IRQ_SETUP_1
pub const fn irq_setup_1(&self) -> &IRQ_SETUP_1
0x14 - Interrupt setup register 1
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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