#[repr(transparent)]pub struct Gencs(pub u32);Expand description
TSI General Control and Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl Gencs
impl Gencs
Sourcepub const fn set_dmaen_eos(&mut self, val: DmaenEos)
pub const fn set_dmaen_eos(&mut self, val: DmaenEos)
In-progress DMA Transfer Request Enable
Sourcepub const fn dmaen_outrg(&self) -> DmaenOutrg
pub const fn dmaen_outrg(&self) -> DmaenOutrg
Out of Range DMA Transfer Request Enable
Sourcepub const fn set_dmaen_outrg(&mut self, val: DmaenOutrg)
pub const fn set_dmaen_outrg(&mut self, val: DmaenOutrg)
Out of Range DMA Transfer Request Enable
Sourcepub const fn set_clk_sel(&mut self, val: ClkSel)
pub const fn set_clk_sel(&mut self, val: ClkSel)
KHz clock selection
Sourcepub const fn set_tsien_dpd(&mut self, val: TsienDpd)
pub const fn set_tsien_dpd(&mut self, val: TsienDpd)
Enable of 3v domain logic in this IP
Sourcepub const fn debounce_counter_configured(&self) -> DebounceCounterConfigured
pub const fn debounce_counter_configured(&self) -> DebounceCounterConfigured
DEBOUNCE
Sourcepub const fn set_debounce_counter_configured(
&mut self,
val: DebounceCounterConfigured,
)
pub const fn set_debounce_counter_configured( &mut self, val: DebounceCounterConfigured, )
DEBOUNCE
Sourcepub const fn set_outrg_en(&mut self, val: OutrgEn)
pub const fn set_outrg_en(&mut self, val: OutrgEn)
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