[][src]Enum efm32gg11b820::gpio::pk_modeh::MODE10R

pub enum MODE10R {
    DISABLED,
    INPUT,
    INPUTPULL,
    INPUTPULLFILTER,
    PUSHPULL,
    PUSHPULLALT,
    WIREDOR,
    WIREDORPULLDOWN,
    WIREDAND,
    WIREDANDFILTER,
    WIREDANDPULLUP,
    WIREDANDPULLUPFILTER,
    WIREDANDALT,
    WIREDANDALTFILTER,
    WIREDANDALTPULLUP,
    WIREDANDALTPULLUPFILTER,
}

Possible values of the field MODE10

Variants

DISABLED

Input disabled. Pullup if DOUT is set.

INPUT

Input enabled. Filter if DOUT is set

INPUTPULL

Input enabled. DOUT determines pull direction

INPUTPULLFILTER

Input enabled with filter. DOUT determines pull direction

PUSHPULL

Push-pull output

PUSHPULLALT

Push-pull using alternate control

WIREDOR

Wired-or output

WIREDORPULLDOWN

Wired-or output with pull-down

WIREDAND

Open-drain output

WIREDANDFILTER

Open-drain output with filter

WIREDANDPULLUP

Open-drain output with pullup

WIREDANDPULLUPFILTER

Open-drain output with filter and pullup

WIREDANDALT

Open-drain output using alternate control

WIREDANDALTFILTER

Open-drain output using alternate control with filter

WIREDANDALTPULLUP

Open-drain output using alternate control with pullup

WIREDANDALTPULLUPFILTER

Open-drain output using alternate control with filter and pullup

Methods

impl MODE10R[src]

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

Value of the field as raw bits

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

Checks if the value of the field is DISABLED

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

Checks if the value of the field is INPUT

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

Checks if the value of the field is INPUTPULL

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

Checks if the value of the field is INPUTPULLFILTER

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

Checks if the value of the field is PUSHPULL

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

Checks if the value of the field is PUSHPULLALT

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

Checks if the value of the field is WIREDOR

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

Checks if the value of the field is WIREDORPULLDOWN

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

Checks if the value of the field is WIREDAND

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

Checks if the value of the field is WIREDANDFILTER

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

Checks if the value of the field is WIREDANDPULLUP

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

Checks if the value of the field is WIREDANDPULLUPFILTER

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

Checks if the value of the field is WIREDANDALT

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

Checks if the value of the field is WIREDANDALTFILTER

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

Checks if the value of the field is WIREDANDALTPULLUP

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

Checks if the value of the field is WIREDANDALTPULLUPFILTER

Trait Implementations

impl Copy for MODE10R[src]

impl Debug for MODE10R[src]

impl PartialEq<MODE10R> for MODE10R[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for MODE10R[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 MODE10R

impl Sync for MODE10R

Blanket Implementations

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

type Error = Infallible

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

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]

impl<T> Same for T

type Output = T

Should always be Self