Enum stm32f0xx::gpioa::moder::Moder0R
[−]
[src]
pub enum Moder0R { Input, Output, Alternate, Analog, }
Possible values of the field MODER0
Variants
Input
Input mode(Reset).
Output
General purpose output mode.
Alternate
Alternate function mode.
Analog
Analog mode .
Methods
impl Moder0R
[src]
fn bits(&self) -> u8
Value of the field as raw bits
fn is_input(&self) -> bool
Checks if the value of the field is Input
fn is_output(&self) -> bool
Checks if the value of the field is Output
fn is_alternate(&self) -> bool
Checks if the value of the field is Alternate
fn is_analog(&self) -> bool
Checks if the value of the field is Analog
Trait Implementations
impl Clone for Moder0R
[src]
fn clone(&self) -> Moder0R
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