Struct Pmcr
#[repr(transparent)]pub struct Pmcr(pub u32);Expand description
peripheral mode configuration register
Tuple Fields§
§0: u32Implementations§
§impl Pmcr
impl Pmcr
pub const fn set_i2c1_fmp(&mut self, val: bool)
pub const fn set_i2c1_fmp(&mut self, val: bool)
I2C1 Fm+
pub const fn set_i2c2_fmp(&mut self, val: bool)
pub const fn set_i2c2_fmp(&mut self, val: bool)
I2C2 Fm+
pub const fn set_i2c3_fmp(&mut self, val: bool)
pub const fn set_i2c3_fmp(&mut self, val: bool)
I2C3 Fm+
pub const fn set_i2c4_fmp(&mut self, val: bool)
pub const fn set_i2c4_fmp(&mut self, val: bool)
I2C4 Fm+
pub const fn i2c_pb6_fmp(&self) -> bool
pub const fn i2c_pb6_fmp(&self) -> bool
PB(6) Fm+
pub const fn set_i2c_pb6_fmp(&mut self, val: bool)
pub const fn set_i2c_pb6_fmp(&mut self, val: bool)
PB(6) Fm+
pub const fn i2c_pb7_fmp(&self) -> bool
pub const fn i2c_pb7_fmp(&self) -> bool
PB(7) Fast Mode Plus
pub const fn set_i2c_pb7_fmp(&mut self, val: bool)
pub const fn set_i2c_pb7_fmp(&mut self, val: bool)
PB(7) Fast Mode Plus
pub const fn i2c_pb8_fmp(&self) -> bool
pub const fn i2c_pb8_fmp(&self) -> bool
PB(8) Fast Mode Plus
pub const fn set_i2c_pb8_fmp(&mut self, val: bool)
pub const fn set_i2c_pb8_fmp(&mut self, val: bool)
PB(8) Fast Mode Plus
pub const fn i2c_pb9_fmp(&self) -> bool
pub const fn i2c_pb9_fmp(&self) -> bool
PB(9) Fm+
pub const fn set_i2c_pb9_fmp(&mut self, val: bool)
pub const fn set_i2c_pb9_fmp(&mut self, val: bool)
PB(9) Fm+
pub const fn set_boosten(&mut self, val: bool)
pub const fn set_boosten(&mut self, val: bool)
Booster Enable
pub const fn boostvddsel(&self) -> bool
pub const fn boostvddsel(&self) -> bool
Analog switch supply voltage selection
pub const fn set_boostvddsel(&mut self, val: bool)
pub const fn set_boostvddsel(&mut self, val: bool)
Analog switch supply voltage selection
pub const fn eth_sel_phy(&self) -> EthSelPhy
pub const fn eth_sel_phy(&self) -> EthSelPhy
Ethernet PHY interface selection.
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.
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