Skip to main content

SmodW

Type Alias SmodW 

Source
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§

Source§

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

Source

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

Disable

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

State mode; SHIFTBUF contents store programmable state attributes

Source

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

Logic mode; SHIFTBUF contents implement programmable logic lookup table