Struct I3cpucr2
#[repr(transparent)]pub struct I3cpucr2(pub u32);Expand description
PWR I3C pull-up control register 2.
Tuple Fields§
§0: u32Implementations§
§impl I3cpucr2
impl I3cpucr2
pub fn set_pc0_i3cpu(&mut self, val: bool)
pub fn set_pc0_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PC0.
pub fn set_pc1_i3cpu(&mut self, val: bool)
pub fn set_pc1_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PC1.
pub const fn pd12_i3cpu(&self) -> bool
pub const fn pd12_i3cpu(&self) -> bool
When set, the bit activates the I3C pull-up on PD12.
pub fn set_pd12_i3cpu(&mut self, val: bool)
pub fn set_pd12_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PD12.
pub const fn pd13_i3cpu(&self) -> bool
pub const fn pd13_i3cpu(&self) -> bool
When set, the bit activates the I3C pull-up on PD13.
pub fn set_pd13_i3cpu(&mut self, val: bool)
pub fn set_pd13_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PD13.
pub fn set_pg7_i3cpu(&mut self, val: bool)
pub fn set_pg7_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PG7.
pub fn set_pg8_i3cpu(&mut self, val: bool)
pub fn set_pg8_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PG8.
pub const fn pg13_i3cpu(&self) -> bool
pub const fn pg13_i3cpu(&self) -> bool
When set, the bit activates the I3C pull-up on PG13.
pub fn set_pg13_i3cpu(&mut self, val: bool)
pub fn set_pg13_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PG13.
pub const fn pg14_i3cpu(&self) -> bool
pub const fn pg14_i3cpu(&self) -> bool
When set, the bit activates the I3C pull-up on PG14.
pub fn set_pg14_i3cpu(&mut self, val: bool)
pub fn set_pg14_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PG14.
pub fn set_ph3_i3cpu(&mut self, val: bool)
pub fn set_ph3_i3cpu(&mut self, val: bool)
When set, the bit activates the I3C pull-up on PH3.
Trait Implementations§
impl Copy for I3cpucr2
impl Eq for I3cpucr2
impl StructuralPartialEq for I3cpucr2
Auto Trait Implementations§
impl Freeze for I3cpucr2
impl RefUnwindSafe for I3cpucr2
impl Send for I3cpucr2
impl Sync for I3cpucr2
impl Unpin for I3cpucr2
impl UnwindSafe for I3cpucr2
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