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

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

Register SM_CONTROL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn op_mode(&self) -> OP_MODE_R

Bits 0:1 - Operation Mode

source

pub fn dir(&self) -> DIR_R

Bits 2:3 - Direction

source

pub fn int_ecat(&self) -> INT_ECAT_R

Bit 4 - Interrupt in ECAT Event Request Register

source

pub fn int_pdi(&self) -> INT_PDI_R

Bit 5 - Interrupt in PDI Event Request Register

source

pub fn wd_trg(&self) -> WD_TRG_R

Bit 6 - Watchdog Trigger Enable