Enum stm32f103xx::gpioa::crl::MODE0R
[−]
[src]
pub enum MODE0R {
INPUT,
OUTPUT,
OUTPUT2,
OUTPUT50,
}Possible values of the field MODE0
Variants
INPUTInput mode
OUTPUTOutput mode 10 MHz
OUTPUT2Output mode 2 MHz
OUTPUT50Output mode 50 MHz
Methods
impl MODE0R[src]
pub fn bits(&self) -> u8[src]
Value of the field as raw bits
pub fn is_input(&self) -> bool[src]
Checks if the value of the field is INPUT
pub fn is_output(&self) -> bool[src]
Checks if the value of the field is OUTPUT
pub fn is_output2(&self) -> bool[src]
Checks if the value of the field is OUTPUT2
pub fn is_output50(&self) -> bool[src]
Checks if the value of the field is OUTPUT50
Trait Implementations
impl Clone for MODE0R[src]
fn clone(&self) -> MODE0R[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
impl Copy for MODE0R[src]
impl Debug for MODE0R[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more