Struct rp2040_pac::resets::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn reset(&self) -> &RESET
pub const fn reset(&self) -> &RESET
0x00 - Reset control. If a bit is set it means the peripheral is in reset. 0 means the peripheral’s reset is deasserted.
sourcepub const fn wdsel(&self) -> &WDSEL
pub const fn wdsel(&self) -> &WDSEL
0x04 - Watchdog select. If a bit is set then the watchdog will reset this peripheral when the watchdog fires.
sourcepub const fn reset_done(&self) -> &RESET_DONE
pub const fn reset_done(&self) -> &RESET_DONE
0x08 - Reset done. If a bit is set then a reset done signal has been returned by the peripheral. This indicates that the peripheral’s registers are ready to be accessed.
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