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 StructuralEq for Cfgr3
impl StructuralPartialEq for Cfgr3
Auto Trait Implementationsยง
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