Type Alias xmc4800::vadc_g0::asmr::W

source ·
pub type W = W<AsmrSpec>;
Expand description

Register ASMR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn engt(&mut self) -> EngtW<'_, AsmrSpec>

Bits 0:1 - Enable Gate

source

pub fn entr(&mut self) -> EntrW<'_, AsmrSpec>

Bit 2 - Enable External Trigger

source

pub fn ensi(&mut self) -> EnsiW<'_, AsmrSpec>

Bit 3 - Enable Source Interrupt

source

pub fn scan(&mut self) -> ScanW<'_, AsmrSpec>

Bit 4 - Autoscan Enable

source

pub fn ldm(&mut self) -> LdmW<'_, AsmrSpec>

Bit 5 - Autoscan Source Load Event Mode

source

pub fn clrpnd(&mut self) -> ClrpndW<'_, AsmrSpec>

Bit 8 - Clear Pending Bits

source

pub fn ldev(&mut self) -> LdevW<'_, AsmrSpec>

Bit 9 - Generate Load Event

source

pub fn rptdis(&mut self) -> RptdisW<'_, AsmrSpec>

Bit 16 - Repeat Disable