Enum efr32x12p::gpio::pa_model::MODE6R
[−]
[src]
pub enum MODE6R { DISABLED, INPUT, INPUTPULL, INPUTPULLFILTER, PUSHPULL, PUSHPULLALT, WIREDOR, WIREDORPULLDOWN, WIREDAND, WIREDANDFILTER, WIREDANDPULLUP, WIREDANDPULLUPFILTER, WIREDANDALT, WIREDANDALTFILTER, WIREDANDALTPULLUP, WIREDANDALTPULLUPFILTER, }
Possible values of the field MODE6
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 MODE6R
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_disabled(&self) -> bool
[src]
Checks if the value of the field is DISABLED
fn is_input(&self) -> bool
[src]
Checks if the value of the field is INPUT
fn is_inputpull(&self) -> bool
[src]
Checks if the value of the field is INPUTPULL
fn is_inputpullfilter(&self) -> bool
[src]
Checks if the value of the field is INPUTPULLFILTER
fn is_pushpull(&self) -> bool
[src]
Checks if the value of the field is PUSHPULL
fn is_pushpullalt(&self) -> bool
[src]
Checks if the value of the field is PUSHPULLALT
fn is_wiredor(&self) -> bool
[src]
Checks if the value of the field is WIREDOR
fn is_wiredorpulldown(&self) -> bool
[src]
Checks if the value of the field is WIREDORPULLDOWN
fn is_wiredand(&self) -> bool
[src]
Checks if the value of the field is WIREDAND
fn is_wiredandfilter(&self) -> bool
[src]
Checks if the value of the field is WIREDANDFILTER
fn is_wiredandpullup(&self) -> bool
[src]
Checks if the value of the field is WIREDANDPULLUP
fn is_wiredandpullupfilter(&self) -> bool
[src]
Checks if the value of the field is WIREDANDPULLUPFILTER
fn is_wiredandalt(&self) -> bool
[src]
Checks if the value of the field is WIREDANDALT
fn is_wiredandaltfilter(&self) -> bool
[src]
Checks if the value of the field is WIREDANDALTFILTER
fn is_wiredandaltpullup(&self) -> bool
[src]
Checks if the value of the field is WIREDANDALTPULLUP
fn is_wiredandaltpullupfilter(&self) -> bool
[src]
Checks if the value of the field is WIREDANDALTPULLUPFILTER
Trait Implementations
impl Clone for MODE6R
[src]
fn clone(&self) -> MODE6R
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more