Struct Cfgr1
#[repr(transparent)]pub struct Cfgr1(pub u32);Expand description
configuration register 1
Tuple Fields§
§0: u32Implementations§
§impl Cfgr1
impl Cfgr1
pub const fn set_boosten(&mut self, val: bool)
pub const fn set_boosten(&mut self, val: bool)
I/O analog switch voltage booster enable
pub const fn set_anaswvdd(&mut self, val: bool)
pub const fn set_anaswvdd(&mut self, val: bool)
GPIO analog switch control voltage selection
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 endcap(&self) -> Endcap
pub const fn endcap(&self) -> Endcap
Enable decoupling capacitance on HSPI supply (only on STM32U59x/5Ax/5Fx/5Gx)
pub const fn set_endcap(&mut self, val: Endcap)
pub const fn set_endcap(&mut self, val: Endcap)
Enable decoupling capacitance on HSPI supply (only on STM32U59x/5Ax/5Fx/5Gx)
pub const fn sramcached(&self) -> bool
pub const fn sramcached(&self) -> bool
Enable internal SRAMs cachability by DCACHE2 (only on STM32U59x/5Ax/5Fx/5Gx)
pub const fn set_sramcached(&mut self, val: bool)
pub const fn set_sramcached(&mut self, val: bool)
Enable internal SRAMs cachability by DCACHE2 (only on STM32U59x/5Ax/5Fx/5Gx)
Trait Implementations§
impl Copy for Cfgr1
impl Eq for Cfgr1
impl StructuralPartialEq for Cfgr1
Auto Trait Implementations§
impl Freeze for Cfgr1
impl RefUnwindSafe for Cfgr1
impl Send for Cfgr1
impl Sync for Cfgr1
impl Unpin for Cfgr1
impl UnsafeUnpin for Cfgr1
impl UnwindSafe for Cfgr1
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