Struct Pmcr
#[repr(transparent)]pub struct Pmcr(pub u32);Expand description
SBS product mode and configuration register
Tuple Fields§
§0: u32Implementations§
§impl Pmcr
impl Pmcr
pub const fn set_pb6_fmp(&mut self, val: bool)
pub const fn set_pb6_fmp(&mut self, val: bool)
Fast-mode Plus driving capability activation on PB6.
pub const fn set_pb7_fmp(&mut self, val: bool)
pub const fn set_pb7_fmp(&mut self, val: bool)
Fast-mode Plus driving capability activation on PB7.
pub const fn set_pb8_fmp(&mut self, val: bool)
pub const fn set_pb8_fmp(&mut self, val: bool)
Fast-mode Plus driving capability activation on PB8.
pub const fn set_pb9_fmp(&mut self, val: bool)
pub const fn set_pb9_fmp(&mut self, val: bool)
Fast-mode Plus driving capability activation on PB9.
pub const fn eth_sel_phy(&self) -> EthSelPhy
pub const fn eth_sel_phy(&self) -> EthSelPhy
Ethernet PHY interface selection Other: reserved
pub const fn set_eth_sel_phy(&mut self, val: EthSelPhy)
pub const fn set_eth_sel_phy(&mut self, val: EthSelPhy)
Ethernet PHY interface selection Other: reserved
pub const fn set_ethintpol(&mut self, val: bool)
pub const fn set_ethintpol(&mut self, val: bool)
ETH external PHY interrupt polarity configuration.
pub const fn set_ethpdack(&mut self, val: bool)
pub const fn set_ethpdack(&mut self, val: bool)
ETH power-down acknowledge.
pub const fn set_ethtxlpi(&mut self, val: bool)
pub const fn set_ethtxlpi(&mut self, val: bool)
ETH TxLPI status.
Trait Implementations§
impl Copy for Pmcr
impl Eq for Pmcr
impl StructuralPartialEq for Pmcr
Auto Trait Implementations§
impl Freeze for Pmcr
impl RefUnwindSafe for Pmcr
impl Send for Pmcr
impl Sync for Pmcr
impl Unpin for Pmcr
impl UnsafeUnpin for Pmcr
impl UnwindSafe for Pmcr
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