Struct P2cr
#[repr(transparent)]pub struct P2cr(pub u32);Expand description
OctoSPI IO Manager Port 2 Configuration Register
Tuple Fields§
§0: u32Implementations§
§impl P2cr
impl P2cr
pub const fn set_clksrc(&mut self, val: bool)
pub const fn set_clksrc(&mut self, val: bool)
CLK/CLK Source for Port
pub const fn set_dqssrc(&mut self, val: bool)
pub const fn set_dqssrc(&mut self, val: bool)
DQS Source for Port
pub const fn set_ncssrc(&mut self, val: bool)
pub const fn set_ncssrc(&mut self, val: bool)
CS Source for Port
pub const fn set_iolsrc(&mut self, val: u8)
pub const fn set_iolsrc(&mut self, val: u8)
Source for Port
pub const fn set_iohsrc(&mut self, val: u8)
pub const fn set_iohsrc(&mut self, val: u8)
Source for Port
Trait Implementations§
impl Copy for P2cr
impl Eq for P2cr
impl StructuralPartialEq for P2cr
Auto Trait Implementations§
impl Freeze for P2cr
impl RefUnwindSafe for P2cr
impl Send for P2cr
impl Sync for P2cr
impl Unpin for P2cr
impl UnwindSafe for P2cr
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