Type Alias xmc4800::ecat0_sm0::sm_control::R

source ·
pub type R = R<SmControlSpec>;
Expand description

Register SM_CONTROL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn op_mode(&self) -> OpModeR

Bits 0:1 - Operation Mode

source

pub fn dir(&self) -> DirR

Bits 2:3 - Direction

source

pub fn int_ecat(&self) -> IntEcatR

Bit 4 - Interrupt in ECAT Event Request Register

source

pub fn int_pdi(&self) -> IntPdiR

Bit 5 - Interrupt in PDI Event Request Register

source

pub fn wd_trg(&self) -> WdTrgR

Bit 6 - Watchdog Trigger Enable