[][src]Enum s32k144::flexio::shiftctl0::SMODR

pub enum SMODR {
    _0,
    _1,
    _10,
    _100,
    _101,
    _Reserved(u8),
}

Possible values of the field SMOD

Variants

_0

Disabled.

_1

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

_10

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

_100

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

_101

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

_Reserved(u8)

Reserved

Methods

impl SMODR
[src]

pub fn bits(&self) -> u8
[src]

Value of the field as raw bits

pub fn is_0(&self) -> bool
[src]

Checks if the value of the field is _0

pub fn is_1(&self) -> bool
[src]

Checks if the value of the field is _1

pub fn is_10(&self) -> bool
[src]

Checks if the value of the field is _10

pub fn is_100(&self) -> bool
[src]

Checks if the value of the field is _100

pub fn is_101(&self) -> bool
[src]

Checks if the value of the field is _101

Trait Implementations

impl Copy for SMODR
[src]

impl Debug for SMODR
[src]

impl PartialEq<SMODR> for SMODR
[src]

impl Clone for SMODR
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SMODR

impl Sync for SMODR

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]