Enum lm4f120::gpio::PinMode [] [src]

pub enum PinMode {
    InputPull(Level),
    Input,
    Output,
    Peripheral,
}

Describes a pin's direction

Variants

An input with a pull-up or pull-down

An input with no pull

A totem-pole output

Pin is driven by a peripheral (i.e. is no longer a GPIO)

Trait Implementations

impl PartialEq for PinMode
[src]

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

This method tests for !=.

impl Clone for PinMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PinMode
[src]