Enum efr32x12p::gpio::ph_model::MODE4R [] [src]

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

Possible values of the field MODE4

Variants

Input disabled. Pullup if DOUT is set.

Input enabled. Filter if DOUT is set

Input enabled. DOUT determines pull direction

Input enabled with filter. DOUT determines pull direction

Push-pull output

Push-pull using alternate control

Wired-or output

Wired-or output with pull-down

Open-drain output

Open-drain output with filter

Open-drain output with pullup

Open-drain output with filter and pullup

Open-drain output using alternate control

Open-drain output using alternate control with filter

Open-drain output using alternate control with pullup

Open-drain output using alternate control with filter and pullup

Methods

impl MODE4R
[src]

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is DISABLED

[src]

Checks if the value of the field is INPUT

[src]

Checks if the value of the field is INPUTPULL

[src]

Checks if the value of the field is INPUTPULLFILTER

[src]

Checks if the value of the field is PUSHPULL

[src]

Checks if the value of the field is PUSHPULLALT

[src]

Checks if the value of the field is WIREDOR

[src]

Checks if the value of the field is WIREDORPULLDOWN

[src]

Checks if the value of the field is WIREDAND

[src]

Checks if the value of the field is WIREDANDFILTER

[src]

Checks if the value of the field is WIREDANDPULLUP

[src]

Checks if the value of the field is WIREDANDPULLUPFILTER

[src]

Checks if the value of the field is WIREDANDALT

[src]

Checks if the value of the field is WIREDANDALTFILTER

[src]

Checks if the value of the field is WIREDANDALTPULLUP

[src]

Checks if the value of the field is WIREDANDALTPULLUPFILTER

Trait Implementations

impl Clone for MODE4R
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MODE4R
[src]

impl Debug for MODE4R
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for MODE4R
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.