Struct stm32_metapac::octospim::regs::P2cr
#[repr(transparent)]pub struct P2cr(pub u32);
Expand description
OctoSPI IO Manager Port 2 Configuration Register
Tuple Fields§
§0: u32
Implementations§
§impl P2cr
impl P2cr
pub fn set_clksrc(&mut self, val: bool)
pub fn set_clksrc(&mut self, val: bool)
CLK/CLK Source for Port
pub fn set_dqssrc(&mut self, val: bool)
pub fn set_dqssrc(&mut self, val: bool)
DQS Source for Port
pub fn set_ncssrc(&mut self, val: bool)
pub fn set_ncssrc(&mut self, val: bool)
CS Source for Port
pub fn set_iolsrc(&mut self, val: u8)
pub fn set_iolsrc(&mut self, val: u8)
Source for Port
pub fn set_iohsrc(&mut self, val: u8)
pub 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
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
)