Struct Pcr
#[repr(transparent)]pub struct Pcr(pub u32);Expand description
Port n configuration register
Tuple Fields§
§0: u32Implementations§
§impl Pcr
impl Pcr
pub const fn clksrc(&self) -> bool
pub const fn clksrc(&self) -> bool
CLK/NCLK source for Port n. 0: OCTOSPI1_CLK/NCLK (multiplexed CLK/NCLK in multiplexed mode), 1: OCTOSPI2_CLK/NCLK.
pub const fn set_clksrc(&mut self, val: bool)
pub const fn set_clksrc(&mut self, val: bool)
CLK/NCLK source for Port n. 0: OCTOSPI1_CLK/NCLK (multiplexed CLK/NCLK in multiplexed mode), 1: OCTOSPI2_CLK/NCLK.
pub const fn dqssrc(&self) -> bool
pub const fn dqssrc(&self) -> bool
DQS source for Port n. 0: OCTOSPI1_DQS (multiplexed DQS in multiplexed mode), 1: OCTOSPI2_DQS.
pub const fn set_dqssrc(&mut self, val: bool)
pub const fn set_dqssrc(&mut self, val: bool)
DQS source for Port n. 0: OCTOSPI1_DQS (multiplexed DQS in multiplexed mode), 1: OCTOSPI2_DQS.
pub const fn set_ncssrc(&mut self, val: bool)
pub const fn set_ncssrc(&mut self, val: bool)
NCS source for Port n. 0: OCTOSPI1_NCS, 1: OCTOSPI2_NCS.
pub const fn set_iolsrc(&mut self, val: Iosrc)
pub const fn set_iolsrc(&mut self, val: Iosrc)
IO[3:0] source for Port n
pub const fn set_iohsrc(&mut self, val: Iosrc)
pub const fn set_iohsrc(&mut self, val: Iosrc)
IO[7:4] source for Port n
Trait Implementations§
impl Copy for Pcr
impl Eq for Pcr
impl StructuralPartialEq for Pcr
Auto Trait Implementations§
impl Freeze for Pcr
impl RefUnwindSafe for Pcr
impl Send for Pcr
impl Sync for Pcr
impl Unpin for Pcr
impl UnsafeUnpin for Pcr
impl UnwindSafe for Pcr
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