[−][src]Enum efm32gg11b820::gpio::pf_modeh::MODE8R
Possible values of the field MODE8
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 MODE8R
[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 PartialEq<MODE8R> for MODE8R
[src]
fn eq(&self, other: &MODE8R) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for MODE8R
[src]
fn clone(&self) -> MODE8R
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for MODE8R
[src]
impl Debug for MODE8R
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self