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 fn set_i2c1_fmp(&mut self, val: bool)
pub fn set_i2c1_fmp(&mut self, val: bool)
I2C1_FMP I2C1 Fast Mode + Enable
pub fn set_i2c2_fmp(&mut self, val: bool)
pub fn set_i2c2_fmp(&mut self, val: bool)
I2C2_FMP I2C2 Fast Mode + Enable
pub fn set_i2c3_fmp(&mut self, val: bool)
pub fn set_i2c3_fmp(&mut self, val: bool)
I2C3_FMP I2C3 Fast Mode + Enable
pub fn set_i2c4_fmp(&mut self, val: bool)
pub fn set_i2c4_fmp(&mut self, val: bool)
I2C4 Fast Mode + Enable
pub fn set_pb6_fmp(&mut self, val: bool)
pub fn set_pb6_fmp(&mut self, val: bool)
PB6_FMP Fast Mode
pub fn set_pb7_fmp(&mut self, val: bool)
pub fn set_pb7_fmp(&mut self, val: bool)
PB7_FMP Fast Mode + Enable
pub fn set_pb8_fmp(&mut self, val: bool)
pub fn set_pb8_fmp(&mut self, val: bool)
PB8_FMP Fast Mode + Enable
pub fn set_pb9_fmp(&mut self, val: bool)
pub fn set_pb9_fmp(&mut self, val: bool)
Fast Mode + Enable
pub fn set_adc1dc2(&mut self, val: bool)
pub fn set_adc1dc2(&mut self, val: bool)
ADC3DC2
pub fn set_adc2dc2(&mut self, val: bool)
pub fn set_adc2dc2(&mut self, val: bool)
ADC2DC2
pub fn set_adc3dc2(&mut self, val: bool)
pub fn set_adc3dc2(&mut self, val: bool)
ADC3DC2
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
)