efr32xg1::gpio::pe_model

Enum MODE7W

Source
pub enum MODE7W {
Show 16 variants DISABLED, INPUT, INPUTPULL, INPUTPULLFILTER, PUSHPULL, PUSHPULLALT, WIREDOR, WIREDORPULLDOWN, WIREDAND, WIREDANDFILTER, WIREDANDPULLUP, WIREDANDPULLUPFILTER, WIREDANDALT, WIREDANDALTFILTER, WIREDANDALTPULLUP, WIREDANDALTPULLUPFILTER,
}
Expand description

Values that can be written to the field MODE7

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

Auto Trait Implementations§

§

impl Freeze for MODE7W

§

impl RefUnwindSafe for MODE7W

§

impl Send for MODE7W

§

impl Sync for MODE7W

§

impl Unpin for MODE7W

§

impl UnwindSafe for MODE7W

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.