Struct stm32_metapac::octospim::regs::P1cr
#[repr(transparent)]pub struct P1cr(pub u32);
Expand description
OctoSPI IO Manager Port 1 Configuration Register
Tuple Fields§
§0: u32
Implementations§
§impl P1cr
impl P1cr
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 P1cr
impl Eq for P1cr
impl StructuralPartialEq for P1cr
Auto Trait Implementations§
impl Freeze for P1cr
impl RefUnwindSafe for P1cr
impl Send for P1cr
impl Sync for P1cr
impl Unpin for P1cr
impl UnwindSafe for P1cr
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
)