SmodR

Type Alias SmodR 

pub type SmodR = FieldReader<Smod>;
Expand description

Field SMOD reader - Shifter Mode

Aliased Type§

pub struct SmodR { /* private fields */ }

Implementations§

§

impl SmodR

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

Get enumerated values variant

pub fn is_0(&self) -> bool

Disabled.

pub fn is_1(&self) -> bool

Receive mode. Captures the current Shifter content into the SHIFTBUF on expiration of the Timer.

pub fn is_10(&self) -> bool

Transmit mode. Load SHIFTBUF contents into the Shifter on expiration of the Timer.

pub fn is_100(&self) -> bool

Match Store mode. Shifter data is compared to SHIFTBUF content on expiration of the Timer.

pub fn is_101(&self) -> bool

Match Continuous mode. Shifter data is continuously compared to SHIFTBUF contents.