Type Alias xmc4300::vadc_g0::asctrl::W

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

Register ASCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn srcresreg(&mut self) -> SRCRESREG_W<'_, ASCTRL_SPEC>

Bits 0:3 - Source-specific Result Register

source

pub fn xtsel(&mut self) -> XTSEL_W<'_, ASCTRL_SPEC>

Bits 8:11 - External Trigger Input Selection

source

pub fn xtmode(&mut self) -> XTMODE_W<'_, ASCTRL_SPEC>

Bits 13:14 - Trigger Operating Mode

source

pub fn xtwc(&mut self) -> XTWC_W<'_, ASCTRL_SPEC>

Bit 15 - Write Control for Trigger Configuration

source

pub fn gtsel(&mut self) -> GTSEL_W<'_, ASCTRL_SPEC>

Bits 16:19 - Gate Input Selection

source

pub fn gtwc(&mut self) -> GTWC_W<'_, ASCTRL_SPEC>

Bit 23 - Write Control for Gate Configuration

source

pub fn tmen(&mut self) -> TMEN_W<'_, ASCTRL_SPEC>

Bit 28 - Timer Mode Enable

source

pub fn tmwc(&mut self) -> TMWC_W<'_, ASCTRL_SPEC>

Bit 31 - Write Control for Timer Mode