Skip to main content

W

Type Alias W 

Source
pub type W = W<CtrlSpec>;
Expand description

Register CTRL writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn ldok(&mut self) -> LdokW<'_, CtrlSpec>

Bit 0 - Load Okay

Source

pub fn dmaen(&mut self) -> DmaenW<'_, CtrlSpec>

Bit 1 - DMA Enable

Source

pub fn wde(&mut self) -> WdeW<'_, CtrlSpec>

Bit 2 - Watchdog Enable

Source

pub fn wdie(&mut self) -> WdieW<'_, CtrlSpec>

Bit 3 - Watchdog Timeout Interrupt Enable

Source

pub fn wdirq(&mut self) -> WdirqW<'_, CtrlSpec>

Bit 4 - Watchdog Timeout Interrupt Request

Source

pub fn xne(&mut self) -> XneW<'_, CtrlSpec>

Bit 5 - Select Positive/Negative Edge of INDEX/PRESET Pulse

Source

pub fn xip(&mut self) -> XipW<'_, CtrlSpec>

Bit 6 - INDEX Triggered Initialization of Position Counters UPOS and LPOS

Source

pub fn xie(&mut self) -> XieW<'_, CtrlSpec>

Bit 7 - INDEX/PRESET Pulse Interrupt Enable

Source

pub fn xirq(&mut self) -> XirqW<'_, CtrlSpec>

Bit 8 - INDEX/PRESET Pulse Interrupt Request

Source

pub fn ph1(&mut self) -> Ph1W<'_, CtrlSpec>

Bit 9 - Enable Single Phase Mode

Source

pub fn rev(&mut self) -> RevW<'_, CtrlSpec>

Bit 10 - Enable Reverse Direction Counting

Source

pub fn swip(&mut self) -> SwipW<'_, CtrlSpec>

Bit 11 - Software-Triggered Initialization of Position Counters UPOS and LPOS

Source

pub fn hne(&mut self) -> HneW<'_, CtrlSpec>

Bit 12 - Use Negative Edge of HOME/ENABLE Input

Source

pub fn hip(&mut self) -> HipW<'_, CtrlSpec>

Bit 13 - Enable HOME to Initialize Position Counter UPOS/LPOS

Source

pub fn hie(&mut self) -> HieW<'_, CtrlSpec>

Bit 14 - HOME/ENABLE Interrupt Enable

Source

pub fn hirq(&mut self) -> HirqW<'_, CtrlSpec>

Bit 15 - HOME/ENABLE Signal Transition Interrupt Request