Enum stm32f0x2::gpioa::moder::MODER15R
[−]
[src]
pub enum MODER15R { INPUT, OUTPUT, ALTERNATE, ANALOG, }
Possible values of the field MODER15
Variants
INPUT
Input mode (reset state)
OUTPUT
General purpose output mode
ALTERNATE
Alternate function mode
ANALOG
Analog mode
Methods
impl MODER15R
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_input(&self) -> bool
[src]
Checks if the value of the field is INPUT
fn is_output(&self) -> bool
[src]
Checks if the value of the field is OUTPUT
fn is_alternate(&self) -> bool
[src]
Checks if the value of the field is ALTERNATE
fn is_analog(&self) -> bool
[src]
Checks if the value of the field is ANALOG
Trait Implementations
impl Clone for MODER15R
[src]
fn clone(&self) -> MODER15R
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more