pub struct Syscfg { /* private fields */ }
Expand description
Register block for various chip control signals
Implementations§
source§impl Syscfg
impl Syscfg
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
sourcepub const fn proc0_nmi_mask(self) -> Reg<u32, RW>
pub const fn proc0_nmi_mask(self) -> Reg<u32, RW>
Processor core 0 NMI source mask
sourcepub const fn proc1_nmi_mask(self) -> Reg<u32, RW>
pub const fn proc1_nmi_mask(self) -> Reg<u32, RW>
Processor core 1 NMI source mask
sourcepub const fn proc_config(self) -> Reg<ProcConfig, RW>
pub const fn proc_config(self) -> Reg<ProcConfig, RW>
Configuration for processors
sourcepub const fn proc_in_sync_bypass(self) -> Reg<ProcInSyncBypass, RW>
pub const fn proc_in_sync_bypass(self) -> Reg<ProcInSyncBypass, RW>
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…29.
sourcepub const fn proc_in_sync_bypass_hi(self) -> Reg<ProcInSyncBypassHi, RW>
pub const fn proc_in_sync_bypass_hi(self) -> Reg<ProcInSyncBypassHi, RW>
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 30…35 (the QSPI IOs).
sourcepub const fn dbgforce(self) -> Reg<Dbgforce, RW>
pub const fn dbgforce(self) -> Reg<Dbgforce, RW>
Directly control the SWD debug port of either processor
sourcepub const fn mempowerdown(self) -> Reg<Mempowerdown, RW>
pub const fn mempowerdown(self) -> Reg<Mempowerdown, RW>
Control power downs to memories. Set high to power down memories. Use with extreme caution
Trait Implementations§
impl Copy for Syscfg
impl Eq for Syscfg
impl Send for Syscfg
impl StructuralPartialEq for Syscfg
impl Sync for Syscfg
Auto Trait Implementations§
impl Freeze for Syscfg
impl RefUnwindSafe for Syscfg
impl Unpin for Syscfg
impl UnwindSafe for Syscfg
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<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)
clone_to_uninit
)