[−][src]Enum efr32xg1::gpio::pb_model::MODE7R
Possible values of 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
Methods
impl MODE7R
[src]
impl MODE7R
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 Debug for MODE7R
[src]
impl Debug for MODE7R
impl PartialEq<MODE7R> for MODE7R
[src]
impl PartialEq<MODE7R> for MODE7R
fn eq(&self, other: &MODE7R) -> bool | [src] |
| 1.0.0 [src] |
This method tests for !=
.
impl Copy for MODE7R
[src]
impl Copy for MODE7R
impl Clone for MODE7R
[src]
impl Clone for MODE7R
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)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]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)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]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |