Struct rp_pac::syscfg::regs::ProcInSyncBypassHi
source · #[repr(transparent)]pub struct ProcInSyncBypassHi(pub u32);
Expand description
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
Tuple Fields§
§0: u32
Implementations§
source§impl ProcInSyncBypassHi
impl ProcInSyncBypassHi
pub const fn gpio(&self) -> u16
pub fn set_gpio(&mut self, val: u16)
pub const fn usb_dp(&self) -> bool
pub fn set_usb_dp(&mut self, val: bool)
pub const fn usb_dm(&self) -> bool
pub fn set_usb_dm(&mut self, val: bool)
pub const fn qspi_sck(&self) -> bool
pub fn set_qspi_sck(&mut self, val: bool)
pub const fn qspi_csn(&self) -> bool
pub fn set_qspi_csn(&mut self, val: bool)
pub const fn qspi_sd(&self) -> u8
pub fn set_qspi_sd(&mut self, val: u8)
Trait Implementations§
source§impl Clone for ProcInSyncBypassHi
impl Clone for ProcInSyncBypassHi
source§fn clone(&self) -> ProcInSyncBypassHi
fn clone(&self) -> ProcInSyncBypassHi
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ProcInSyncBypassHi
impl Default for ProcInSyncBypassHi
source§fn default() -> ProcInSyncBypassHi
fn default() -> ProcInSyncBypassHi
Returns the “default value” for a type. Read more
source§impl PartialEq for ProcInSyncBypassHi
impl PartialEq for ProcInSyncBypassHi
impl Copy for ProcInSyncBypassHi
impl Eq for ProcInSyncBypassHi
impl StructuralPartialEq for ProcInSyncBypassHi
Auto Trait Implementations§
impl Freeze for ProcInSyncBypassHi
impl RefUnwindSafe for ProcInSyncBypassHi
impl Send for ProcInSyncBypassHi
impl Sync for ProcInSyncBypassHi
impl Unpin for ProcInSyncBypassHi
impl UnwindSafe for ProcInSyncBypassHi
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
)