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]
impl MODE0Rpub fn bits(&self) -> u8[src]
pub fn bits(&self) -> u8Value of the field as raw bits
pub fn is_input(&self) -> bool[src]
pub fn is_input(&self) -> boolChecks if the value of the field is INPUT
pub fn is_output(&self) -> bool[src]
pub fn is_output(&self) -> boolChecks if the value of the field is OUTPUT
pub fn is_output2(&self) -> bool[src]
pub fn is_output2(&self) -> boolChecks if the value of the field is OUTPUT2
pub fn is_output50(&self) -> bool[src]
pub fn is_output50(&self) -> boolChecks if the value of the field is OUTPUT50
Trait Implementations
impl Clone for MODE0R[src]
impl Clone for MODE0Rfn clone(&self) -> MODE0R[src]
fn clone(&self) -> MODE0RReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for MODE0R[src]
impl Copy for MODE0Rimpl Debug for MODE0R[src]
impl Debug for MODE0Rfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for MODE0R[src]
impl PartialEq for MODE0R