Struct stm32_metapac::ucpd::regs::Cfgr3
#[repr(transparent)]pub struct Cfgr3(pub u32);
Expand description
configuration register 3
Tuple Fields§
§0: u32
Implementations§
§impl Cfgr3
impl Cfgr3
pub const fn trim_cc1_rd(&self) -> u8
pub const fn trim_cc1_rd(&self) -> u8
SW trim value for Rd resistor on the CC1 line
pub fn set_trim_cc1_rd(&mut self, val: u8)
pub fn set_trim_cc1_rd(&mut self, val: u8)
SW trim value for Rd resistor on the CC1 line
pub const fn trim_cc1_rp(&self) -> u8
pub const fn trim_cc1_rp(&self) -> u8
SW trim value for Rp current sources on the CC1 line
pub fn set_trim_cc1_rp(&mut self, val: u8)
pub fn set_trim_cc1_rp(&mut self, val: u8)
SW trim value for Rp current sources on the CC1 line
pub const fn trim_cc2_rd(&self) -> u8
pub const fn trim_cc2_rd(&self) -> u8
SW trim value for Rd resistor on the CC2 line
pub fn set_trim_cc2_rd(&mut self, val: u8)
pub fn set_trim_cc2_rd(&mut self, val: u8)
SW trim value for Rd resistor on the CC2 line
pub const fn trim_cc2_rp(&self) -> u8
pub const fn trim_cc2_rp(&self) -> u8
SW trim value for Rp current sources on the CC2 line
pub fn set_trim_cc2_rp(&mut self, val: u8)
pub fn set_trim_cc2_rp(&mut self, val: u8)
SW trim value for Rp current sources on the CC2 line
Trait Implementations§
impl Copy for Cfgr3
impl Eq for Cfgr3
impl StructuralPartialEq for Cfgr3
Auto Trait Implementations§
impl Freeze for Cfgr3
impl RefUnwindSafe for Cfgr3
impl Send for Cfgr3
impl Sync for Cfgr3
impl Unpin for Cfgr3
impl UnwindSafe for Cfgr3
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
)