Struct efr32xg12p::csen::ctrl::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn en(&mut self) -> _ENW
[src]
Bit 1 - CSEN Enable
fn cmppol(&mut self) -> _CMPPOLW
[src]
Bit 2 - CSEN Digital Comparator Polarity Select
fn cm(&mut self) -> _CMW
[src]
Bits 4:5 - CSEN Conversion Mode Select.
fn sarcr(&mut self) -> _SARCRW
[src]
Bits 8:9 - SAR Conversion Resolution.
fn acu(&mut self) -> _ACUW
[src]
Bits 12:14 - CSEN Accumulator Mode Select.
fn mcen(&mut self) -> _MCENW
[src]
Bit 15 - CSEN Multiple Channel Enable.
fn stm(&mut self) -> _STMW
[src]
Bits 16:17 - Start Trigger Select
fn cmpen(&mut self) -> _CMPENW
[src]
Bit 18 - CSEN Digital Comparator Enable
fn drsf(&mut self) -> _DRSFW
[src]
Bit 19 - CSEN Disable Right-Shift
fn dmaen(&mut self) -> _DMAENW
[src]
Bit 20 - CSEN DMA Enable Bit.
fn convsel(&mut self) -> _CONVSELW
[src]
Bit 21 - CSEN Converter Select
fn chopen(&mut self) -> _CHOPENW
[src]
Bit 22 - CSEN Chop Enable
fn autognd(&mut self) -> _AUTOGNDW
[src]
Bit 23 - CSEN Automatic Ground Enable
fn mxuc(&mut self) -> _MXUCW
[src]
Bit 24 - CSEN Mux Disconnect.
fn emacmpen(&mut self) -> _EMACMPENW
[src]
Bit 25 - Greater and less than comparison using the exponential moving average (EMA) is enabled.
fn warmupmode(&mut self) -> _WARMUPMODEW
[src]
Bit 26 - Select Warmup mode for CSEN
fn localsens(&mut self) -> _LOCALSENSW
[src]
Bit 27 - Local Sensing Enable
fn cpaccuracy(&mut self) -> _CPACCURACYW
[src]
Bit 28 - Charge Pump Accuracy