Enum stm32f0xx::gpioa::moder::Moder0R [] [src]

pub enum Moder0R {
    Input,
    Output,
    Alternate,
    Analog,
}

Possible values of the field MODER0

Variants

Input mode(Reset).

General purpose output mode.

Alternate function mode.

Analog mode .

Methods

impl Moder0R
[src]

Value of the field as raw bits

Checks if the value of the field is Input

Checks if the value of the field is Output

Checks if the value of the field is Alternate

Checks if the value of the field is Analog

Trait Implementations

impl Clone for Moder0R
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Moder0R
[src]

impl Debug for Moder0R
[src]

Formats the value using the given formatter.

impl PartialEq for Moder0R
[src]

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

This method tests for !=.