Enum lm4f120::gpio::PinMode
[−]
[src]
pub enum PinMode { InputPull(Level), Input, Output, Peripheral, }
Describes a pin's direction
Variants
InputPull(Level)
An input with a pull-up or pull-down
Input
An input with no pull
Output
A totem-pole output
Peripheral
Pin is driven by a peripheral (i.e. is no longer a GPIO)
Trait Implementations
impl PartialEq for PinMode
[src]
fn eq(&self, __arg_0: &PinMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PinMode) -> bool
This method tests for !=
.
impl Clone for PinMode
[src]
fn clone(&self) -> PinMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more