#[repr(transparent)]pub struct Mul(pub u32);Expand description
TSI Mutual-cap Register. M_TRIM_USED[31:16] is omitted: 59.6.1.6 calls it “Not use, just reserved”, despite the XML exposing it. M_MODE=3 is not allowed.
Tuple Fields§
§0: u32Implementations§
Source§impl Mul
impl Mul
Sourcepub const fn m_vpre_choose(&self) -> bool
pub const fn m_vpre_choose(&self) -> bool
M_VPRE_CHOOSE. Encodings: 0: Internal 1.2 V voltage (default); 1: External 1.2 V voltage from PMC
Sourcepub const fn set_m_vpre_choose(&mut self, val: bool)
pub const fn set_m_vpre_choose(&mut self, val: bool)
M_VPRE_CHOOSE. Encodings: 0: Internal 1.2 V voltage (default); 1: External 1.2 V voltage from PMC
Sourcepub const fn m_mode(&self) -> MulMMode
pub const fn m_mode(&self) -> MulMMode
M_MODE. Encodings: 0: Sense both pos and neg side; 1: Sense pos side only; 2: Sense neg side only; 3: Not allowed
Sourcepub const fn set_m_mode(&mut self, val: MulMMode)
pub const fn set_m_mode(&mut self, val: MulMMode)
M_MODE. Encodings: 0: Sense both pos and neg side; 1: Sense pos side only; 2: Sense neg side only; 3: Not allowed
Sourcepub const fn m_trim_cap(&self) -> u8
pub const fn m_trim_cap(&self) -> u8
M_TRIM_CAP. Encodings: 0: 0 pF (default); 1: 10 pF; 2: 10 pF; 3: 20 pF
Sourcepub const fn set_m_trim_cap(&mut self, val: u8)
pub const fn set_m_trim_cap(&mut self, val: u8)
M_TRIM_CAP. Encodings: 0: 0 pF (default); 1: 10 pF; 2: 10 pF; 3: 20 pF
Trait Implementations§
impl Copy for Mul
impl Eq for Mul
impl StructuralPartialEq for Mul
Auto Trait Implementations§
impl Freeze for Mul
impl RefUnwindSafe for Mul
impl Send for Mul
impl Sync for Mul
impl Unpin for Mul
impl UnwindSafe for Mul
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