[][src]Enum sam3x8e::uart::mr::PARR

pub enum PARR {
    EVEN,
    ODD,
    SPACE,
    MARK,
    NO,
    _Reserved(u8),
}

Possible values of the field PAR

Variants

EVEN

Even Parity

ODD

Odd Parity

SPACE

Space: parity forced to 0

MARK

Mark: parity forced to 1

NO

No Parity

_Reserved(u8)

Reserved

Methods

impl PARR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is EVEN

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

Checks if the value of the field is ODD

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

Checks if the value of the field is SPACE

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

Checks if the value of the field is MARK

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

Checks if the value of the field is NO

Trait Implementations

impl Clone for PARR[src]

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

Performs copy-assignment from source. Read more

impl Debug for PARR[src]

impl PartialEq<PARR> for PARR[src]

impl Copy for PARR[src]

Auto Trait Implementations

impl Send for PARR

impl Sync for PARR

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

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

The type returned in the event of a conversion error.

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]