Struct Cfgr1
#[repr(transparent)]pub struct Cfgr1(pub u32);Expand description
SYSCFG configuration register 1.
Tuple Fields§
§0: u32Implementations§
§impl Cfgr1
impl Cfgr1
pub const fn set_ir_pol(&mut self, val: bool)
pub const fn set_ir_pol(&mut self, val: bool)
IR output polarity selection.
pub const fn set_ir_mod(&mut self, val: IrMod)
pub const fn set_ir_mod(&mut self, val: IrMod)
IR modulation envelope signal selection.
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 tsc_g2_io1_comp(&self) -> bool
pub const fn tsc_g2_io1_comp(&self) -> bool
Comparator mode for TSC G2_IO1 on PB4 (only on STM32U3B5/3C5).
pub const fn set_tsc_g2_io1_comp(&mut self, val: bool)
pub const fn set_tsc_g2_io1_comp(&mut self, val: bool)
Comparator mode for TSC G2_IO1 on PB4 (only on STM32U3B5/3C5).
pub const fn tsc_g2_io3_comp(&self) -> bool
pub const fn tsc_g2_io3_comp(&self) -> bool
Comparator mode for TSC G2_IO3 on PB6 (only on STM32U3B5/3C5).
pub const fn set_tsc_g2_io3_comp(&mut self, val: bool)
pub const fn set_tsc_g2_io3_comp(&mut self, val: bool)
Comparator mode for TSC G2_IO3 on PB6 (only on STM32U3B5/3C5).
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