Struct stm32_metapac::syscfg::regs::Pmcr
#[repr(transparent)]pub struct Pmcr(pub u32);
Expand description
SBS product mode and configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Pmcr
impl Pmcr
pub const fn boosten(&self) -> bool
pub const fn boosten(&self) -> bool
booster enable Set this bit to reduce the total harmonic distortion of the analog switch when the processor supply is below 2.7 V. The booster can be activated to guaranty AC performance on analog switch when the supply is below 2.7 V. When the booster is activated, the analog switch performances are the same as with the full voltage range.
pub fn set_boosten(&mut self, val: bool)
pub fn set_boosten(&mut self, val: bool)
booster enable Set this bit to reduce the total harmonic distortion of the analog switch when the processor supply is below 2.7 V. The booster can be activated to guaranty AC performance on analog switch when the supply is below 2.7 V. When the booster is activated, the analog switch performances are the same as with the full voltage range.
pub const fn boostvddsel(&self) -> bool
pub const fn boostvddsel(&self) -> bool
booster VDD selection Note: Booster must not be used when VDDA < 2.7 V, but VDD > 2.7 V (add current consumption). When both VDD < 2.7 V and VDDA < 2.7 V, booster is needed to get full AC performances from I/O analog switches.
pub fn set_boostvddsel(&mut self, val: bool)
pub fn set_boostvddsel(&mut self, val: bool)
booster VDD selection Note: Booster must not be used when VDDA < 2.7 V, but VDD > 2.7 V (add current consumption). When both VDD < 2.7 V and VDDA < 2.7 V, booster is needed to get full AC performances from I/O analog switches.
pub const fn pb6_fmplus(&self) -> bool
pub const fn pb6_fmplus(&self) -> bool
Fast-mode Plus command on PB(6)
pub fn set_pb6_fmplus(&mut self, val: bool)
pub fn set_pb6_fmplus(&mut self, val: bool)
Fast-mode Plus command on PB(6)
pub const fn pb7_fmplus(&self) -> bool
pub const fn pb7_fmplus(&self) -> bool
Fast-mode Plus command on PB(7)
pub fn set_pb7_fmplus(&mut self, val: bool)
pub fn set_pb7_fmplus(&mut self, val: bool)
Fast-mode Plus command on PB(7)
pub const fn pb8_fmplus(&self) -> bool
pub const fn pb8_fmplus(&self) -> bool
Fast-mode Plus command on PB(8)
pub fn set_pb8_fmplus(&mut self, val: bool)
pub fn set_pb8_fmplus(&mut self, val: bool)
Fast-mode Plus command on PB(8)
pub const fn pb9_fmplus(&self) -> bool
pub const fn pb9_fmplus(&self) -> bool
Fast-mode Plus command on PB(9)
pub fn set_pb9_fmplus(&mut self, val: bool)
pub fn set_pb9_fmplus(&mut self, val: bool)
Fast-mode Plus command on PB(9)
pub const fn eth_sel_phy(&self) -> EthSelPhy
pub const fn eth_sel_phy(&self) -> EthSelPhy
Ethernet PHY interface selection Other: reserved
pub fn set_eth_sel_phy(&mut self, val: EthSelPhy)
pub fn set_eth_sel_phy(&mut self, val: EthSelPhy)
Ethernet PHY interface selection Other: reserved
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
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)
clone_to_uninit
)