Skip to main content

SmodR

Type Alias SmodR 

Source
pub type SmodR = FieldReader<Smod>;
Expand description

Field SMOD reader - Shifter Mode

Aliased Type§

pub struct SmodR { /* private fields */ }

Implementations§

Source§

impl SmodR

Source

pub const fn variant(&self) -> Option<Smod>

Get enumerated values variant

Source

pub fn is_disable(&self) -> bool

Disable

Source

pub fn is_receive(&self) -> bool

Receive mode; capture the current shifter content into SHIFTBUF on expiration of the timer

Source

pub fn is_transmit(&self) -> bool

Transmit mode; load SHIFTBUF contents into the shifter on expiration of the timer

Source

pub fn is_matchstore(&self) -> bool

Match Store mode; shifter data is compared to SHIFTBUF content on expiration of the timer

Source

pub fn is_matchcont(&self) -> bool

Match Continuous mode; shifter data is continuously compared to SHIFTBUF contents

Source

pub fn is_state(&self) -> bool

State mode; SHIFTBUF contents store programmable state attributes

Source

pub fn is_logic(&self) -> bool

Logic mode; SHIFTBUF contents implement programmable logic lookup table