Struct stm32_metapac::syscfg::regs::Pmcr
#[repr(transparent)]pub struct Pmcr(pub u32);
Expand description
peripheral mode configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Pmcr
impl Pmcr
pub fn set_i2c1fmp(&mut self, val: bool)
pub fn set_i2c1fmp(&mut self, val: bool)
I2C1 Fm+
pub fn set_i2c2fmp(&mut self, val: bool)
pub fn set_i2c2fmp(&mut self, val: bool)
I2C2 Fm+
pub fn set_i2c3fmp(&mut self, val: bool)
pub fn set_i2c3fmp(&mut self, val: bool)
I2C3 Fm+
pub fn set_i2c4fmp(&mut self, val: bool)
pub fn set_i2c4fmp(&mut self, val: bool)
I2C4 Fm+
pub fn set_pb6fmp(&mut self, val: bool)
pub fn set_pb6fmp(&mut self, val: bool)
PB(6) Fm+
pub fn set_pb7fmp(&mut self, val: bool)
pub fn set_pb7fmp(&mut self, val: bool)
PB(7) Fast Mode Plus
pub fn set_pb8fmp(&mut self, val: bool)
pub fn set_pb8fmp(&mut self, val: bool)
PB(8) Fast Mode Plus
pub fn set_pb9fmp(&mut self, val: bool)
pub fn set_pb9fmp(&mut self, val: bool)
PB(9) Fm+
pub fn set_booste(&mut self, val: bool)
pub fn set_booste(&mut self, val: bool)
Booster Enable
pub const fn boostvddsel(&self) -> bool
pub const fn boostvddsel(&self) -> bool
Analog switch supply voltage selection
pub fn set_boostvddsel(&mut self, val: bool)
pub 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 fn set_eth_sel_phy(&mut self, val: EthSelPhy)
pub 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 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
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
)