Skip to main content

R

Type Alias R 

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

Register CTRL reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn ldok(&self) -> LdokR

Bit 0 - Load Okay

Source

pub fn dmaen(&self) -> DmaenR

Bit 1 - DMA Enable

Source

pub fn wde(&self) -> WdeR

Bit 2 - Watchdog Enable

Source

pub fn wdie(&self) -> WdieR

Bit 3 - Watchdog Timeout Interrupt Enable

Source

pub fn wdirq(&self) -> WdirqR

Bit 4 - Watchdog Timeout Interrupt Request

Source

pub fn xne(&self) -> XneR

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

Source

pub fn xip(&self) -> XipR

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

Source

pub fn xie(&self) -> XieR

Bit 7 - INDEX/PRESET Pulse Interrupt Enable

Source

pub fn xirq(&self) -> XirqR

Bit 8 - INDEX/PRESET Pulse Interrupt Request

Source

pub fn ph1(&self) -> Ph1R

Bit 9 - Enable Single Phase Mode

Source

pub fn rev(&self) -> RevR

Bit 10 - Enable Reverse Direction Counting

Source

pub fn swip(&self) -> SwipR

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

Source

pub fn hne(&self) -> HneR

Bit 12 - Use Negative Edge of HOME/ENABLE Input

Source

pub fn hip(&self) -> HipR

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

Source

pub fn hie(&self) -> HieR

Bit 14 - HOME/ENABLE Interrupt Enable

Source

pub fn hirq(&self) -> HirqR

Bit 15 - HOME/ENABLE Signal Transition Interrupt Request