pub type W = W<CompctrlSpec>;
Expand description
Register COMPCTRL[%s]
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn enable(&mut self) -> EnableW<'_, CompctrlSpec>
pub fn enable(&mut self) -> EnableW<'_, CompctrlSpec>
Bit 1 - Enable
Sourcepub fn single(&mut self) -> SingleW<'_, CompctrlSpec>
pub fn single(&mut self) -> SingleW<'_, CompctrlSpec>
Bit 2 - Single-Shot Mode
Sourcepub fn intsel(&mut self) -> IntselW<'_, CompctrlSpec>
pub fn intsel(&mut self) -> IntselW<'_, CompctrlSpec>
Bits 3:4 - Interrupt Selection
Sourcepub fn runstdby(&mut self) -> RunstdbyW<'_, CompctrlSpec>
pub fn runstdby(&mut self) -> RunstdbyW<'_, CompctrlSpec>
Bit 6 - Run in Standby
Sourcepub fn muxneg(&mut self) -> MuxnegW<'_, CompctrlSpec>
pub fn muxneg(&mut self) -> MuxnegW<'_, CompctrlSpec>
Bits 8:10 - Negative Input Mux Selection
Sourcepub fn muxpos(&mut self) -> MuxposW<'_, CompctrlSpec>
pub fn muxpos(&mut self) -> MuxposW<'_, CompctrlSpec>
Bits 12:14 - Positive Input Mux Selection
Sourcepub fn swap(&mut self) -> SwapW<'_, CompctrlSpec>
pub fn swap(&mut self) -> SwapW<'_, CompctrlSpec>
Bit 15 - Swap Inputs and Invert
Sourcepub fn speed(&mut self) -> SpeedW<'_, CompctrlSpec>
pub fn speed(&mut self) -> SpeedW<'_, CompctrlSpec>
Bits 16:17 - Speed Selection
Sourcepub fn hysten(&mut self) -> HystenW<'_, CompctrlSpec>
pub fn hysten(&mut self) -> HystenW<'_, CompctrlSpec>
Bit 19 - Hysteresis Enable
Sourcepub fn hyst(&mut self) -> HystW<'_, CompctrlSpec>
pub fn hyst(&mut self) -> HystW<'_, CompctrlSpec>
Bits 20:21 - Hysteresis Level
Sourcepub fn flen(&mut self) -> FlenW<'_, CompctrlSpec>
pub fn flen(&mut self) -> FlenW<'_, CompctrlSpec>
Bits 24:26 - Filter Length
Sourcepub fn out(&mut self) -> OutW<'_, CompctrlSpec>
pub fn out(&mut self) -> OutW<'_, CompctrlSpec>
Bits 28:29 - Output