Struct stm32_metapac::syscfg::regs::Pmc
#[repr(transparent)]pub struct Pmc(pub u32);
Expand description
peripheral mode configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Pmc
impl Pmc
pub const fn mii_rmii_sel(&self) -> bool
pub const fn mii_rmii_sel(&self) -> bool
Ethernet PHY interface selection
pub fn set_mii_rmii_sel(&mut self, val: bool)
pub fn set_mii_rmii_sel(&mut self, val: bool)
Ethernet PHY interface selection
Trait Implementations§
impl Copy for Pmc
impl Eq for Pmc
impl StructuralPartialEq for Pmc
Auto Trait Implementations§
impl Freeze for Pmc
impl RefUnwindSafe for Pmc
impl Send for Pmc
impl Sync for Pmc
impl Unpin for Pmc
impl UnwindSafe for Pmc
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
)