pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn proc_config(&self) -> &Reg<PROC_CONFIG_SPEC>
pub const fn proc_config(&self) -> &Reg<PROC_CONFIG_SPEC>
0x00 - Configuration for processors
Sourcepub const fn proc_in_sync_bypass(&self) -> &Reg<PROC_IN_SYNC_BYPASS_SPEC>
pub const fn proc_in_sync_bypass(&self) -> &Reg<PROC_IN_SYNC_BYPASS_SPEC>
0x04 - For each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors. If you’re feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 0…31.
Sourcepub const fn proc_in_sync_bypass_hi(&self) -> &Reg<PROC_IN_SYNC_BYPASS_HI_SPEC>
pub const fn proc_in_sync_bypass_hi(&self) -> &Reg<PROC_IN_SYNC_BYPASS_HI_SPEC>
0x08 - For each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors. If you’re feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 32…47. USB GPIO 56..57 QSPI GPIO 58..63
Sourcepub const fn dbgforce(&self) -> &Reg<DBGFORCE_SPEC>
pub const fn dbgforce(&self) -> &Reg<DBGFORCE_SPEC>
0x0c - Directly control the chip SWD debug port
Sourcepub const fn mempowerdown(&self) -> &Reg<MEMPOWERDOWN_SPEC>
pub const fn mempowerdown(&self) -> &Reg<MEMPOWERDOWN_SPEC>
0x10 - Control PD pins to memories. Set high to put memories to a low power state. In this state the memories will retain contents but not be accessible Use with caution
Sourcepub const fn auxctrl(&self) -> &Reg<AUXCTRL_SPEC>
pub const fn auxctrl(&self) -> &Reg<AUXCTRL_SPEC>
0x14 - Auxiliary system control register
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
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more