#[repr(transparent)]pub struct Gencs(pub u32);Expand description
TSI General Control and Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Gencs
impl Gencs
Sourcepub const fn set_dmaen_eos(&mut self, val: bool)
pub const fn set_dmaen_eos(&mut self, val: bool)
In-Progress DMA Transfer Request Enable.
Sourcepub const fn dmaen_outrg(&self) -> bool
pub const fn dmaen_outrg(&self) -> bool
Out-of-Range DMA Transfer Request Enable.
Sourcepub const fn set_dmaen_outrg(&mut self, val: bool)
pub const fn set_dmaen_outrg(&mut self, val: bool)
Out-of-Range DMA Transfer Request Enable.
Sourcepub const fn ctrim_fine(&self) -> CtrimFine
pub const fn ctrim_fine(&self) -> CtrimFine
Capacitor Fine Trim.
Sourcepub const fn set_ctrim_fine(&mut self, val: CtrimFine)
pub const fn set_ctrim_fine(&mut self, val: CtrimFine)
Capacitor Fine Trim.
Sourcepub const fn set_debounce(&mut self, val: Debounce)
pub const fn set_debounce(&mut self, val: Debounce)
Debounce.
Sourcepub const fn set_s_prox_en(&mut self, val: bool)
pub const fn set_s_prox_en(&mut self, val: bool)
Proximity Enable Signal.
Sourcepub const fn set_setclk(&mut self, val: Setclk)
pub const fn set_setclk(&mut self, val: Setclk)
Set Clock.
Sourcepub const fn set_outrg_en(&mut self, val: bool)
pub const fn set_outrg_en(&mut self, val: bool)
Out-of-Range Interrupt Enable.
Trait Implementations§
impl Copy for Gencs
impl Eq for Gencs
impl StructuralPartialEq for Gencs
Auto Trait Implementations§
impl Freeze for Gencs
impl RefUnwindSafe for Gencs
impl Send for Gencs
impl Sync for Gencs
impl Unpin for Gencs
impl UnwindSafe for Gencs
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