#[repr(transparent)]pub struct ConfigMutual(pub u32);Expand description
TSI CONFIG (TSI_CONFIG) for Mutual-Capacitor
Tuple Fields§
§0: u32Implementations§
Source§impl ConfigMutual
impl ConfigMutual
Sourcepub const fn mode(&self) -> ConfigMutualMode
pub const fn mode(&self) -> ConfigMutualMode
Mode
Sourcepub const fn set_mode(&mut self, val: ConfigMutualMode)
pub const fn set_mode(&mut self, val: ConfigMutualMode)
Mode
Sourcepub const fn set_m_nmirror(&mut self, val: MNmirror)
pub const fn set_m_nmirror(&mut self, val: MNmirror)
NMOS Current Mirror
Sourcepub const fn m_pmirrorr(&self) -> MPmirrorr
pub const fn m_pmirrorr(&self) -> MPmirrorr
PMOS Current Mirror on Right Side
Sourcepub const fn set_m_pmirrorr(&mut self, val: MPmirrorr)
pub const fn set_m_pmirrorr(&mut self, val: MPmirrorr)
PMOS Current Mirror on Right Side
Sourcepub const fn m_pmirrorl(&self) -> MPmirrorl
pub const fn m_pmirrorl(&self) -> MPmirrorl
PMOS Current Mirror on Left Side
Sourcepub const fn set_m_pmirrorl(&mut self, val: MPmirrorl)
pub const fn set_m_pmirrorl(&mut self, val: MPmirrorl)
PMOS Current Mirror on Left Side
Sourcepub const fn set_m_sel_rx(&mut self, val: MSelRx)
pub const fn set_m_sel_rx(&mut self, val: MSelRx)
Mutual-Capacitance RX Channel Selection
Sourcepub const fn set_m_sel_tx(&mut self, val: MSelTx)
pub const fn set_m_sel_tx(&mut self, val: MSelTx)
Mutual-Capacitance TX Channel Selection
Sourcepub const fn set_m_cnt_en(&mut self, val: bool)
pub const fn set_m_cnt_en(&mut self, val: bool)
Mutual-Capacitance Counter Enable
Sourcepub const fn m_tx_pd_en(&self) -> bool
pub const fn m_tx_pd_en(&self) -> bool
Mutual-Capacitance TX Pulldown Enable
Sourcepub const fn set_m_tx_pd_en(&mut self, val: bool)
pub const fn set_m_tx_pd_en(&mut self, val: bool)
Mutual-Capacitance TX Pulldown Enable
Sourcepub const fn m_sen_boost(&self) -> MSenBoost
pub const fn m_sen_boost(&self) -> MSenBoost
Mutual-Capacitance Sensitivity Boost
Sourcepub const fn set_m_sen_boost(&mut self, val: MSenBoost)
pub const fn set_m_sen_boost(&mut self, val: MSenBoost)
Mutual-Capacitance Sensitivity Boost
Sourcepub const fn set_m_pre_res(&mut self, val: MPreRes)
pub const fn set_m_pre_res(&mut self, val: MPreRes)
Mutual-Capacitance Precharge Resistor
Sourcepub const fn m_pre_current(&self) -> MPreCurrent
pub const fn m_pre_current(&self) -> MPreCurrent
Mutual-Capacitance Precharge Current
Sourcepub const fn set_m_pre_current(&mut self, val: MPreCurrent)
pub const fn set_m_pre_current(&mut self, val: MPreCurrent)
Mutual-Capacitance Precharge Current
Trait Implementations§
Source§impl Clone for ConfigMutual
impl Clone for ConfigMutual
Source§fn clone(&self) -> ConfigMutual
fn clone(&self) -> ConfigMutual
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigMutual
impl Debug for ConfigMutual
Source§impl Default for ConfigMutual
impl Default for ConfigMutual
Source§fn default() -> ConfigMutual
fn default() -> ConfigMutual
Returns the “default value” for a type. Read more
Source§impl PartialEq for ConfigMutual
impl PartialEq for ConfigMutual
impl Copy for ConfigMutual
impl Eq for ConfigMutual
impl StructuralPartialEq for ConfigMutual
Auto Trait Implementations§
impl Freeze for ConfigMutual
impl RefUnwindSafe for ConfigMutual
impl Send for ConfigMutual
impl Sync for ConfigMutual
impl Unpin for ConfigMutual
impl UnwindSafe for ConfigMutual
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