SmodW

Type Alias SmodW 

pub type SmodW<'a, REG> = FieldWriter<'a, REG, 3, Smod>;
Expand description

Field SMOD writer - Shifter Mode

Aliased Type§

pub struct SmodW<'a, REG> { /* private fields */ }

Implementations§

§

impl<'a, REG> SmodW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

pub fn _0(self) -> &'a mut W<REG>

Disabled.

pub fn _1(self) -> &'a mut W<REG>

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

pub fn _10(self) -> &'a mut W<REG>

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

pub fn _100(self) -> &'a mut W<REG>

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

pub fn _101(self) -> &'a mut W<REG>

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